summaryrefslogtreecommitdiffstats
path: root/SUSE/takahe-stator.service
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-12-18 19:05:31 +0100
committerGeorg Pfuetzenreuter2022-12-18 19:05:31 +0100
commitd3ba0296dab8bb28bd4624366247c722b58d81b1 (patch)
tree9cab29d80bd8853c587c04715c0ece7dc6bbaefe /SUSE/takahe-stator.service
parentbdc1f1d2b55fe026bebd13905eaaea54d691cb35 (diff)
parent9501cbf678a4ef99ccbd8c53f35b3209569f4c8e (diff)
downloadtakahe-d3ba0296dab8bb28bd4624366247c722b58d81b1.tar.gz
takahe-d3ba0296dab8bb28bd4624366247c722b58d81b1.tar.bz2
takahe-d3ba0296dab8bb28bd4624366247c722b58d81b1.zip
Merge pull request 'Import packaging files' (#2) from libertacasa-package into libertacasa-masterHEADlibertacasa-master
Reviewed-on: https://git.com.de/LibertaCasa/takahe/pulls/2
Diffstat (limited to 'SUSE/takahe-stator.service')
-rw-r--r--SUSE/takahe-stator.service25
1 files changed, 25 insertions, 0 deletions
diff --git a/SUSE/takahe-stator.service b/SUSE/takahe-stator.service
new file mode 100644
index 0000000..5b9e3ac
--- /dev/null
+++ b/SUSE/takahe-stator.service
@@ -0,0 +1,25 @@
+# This file is shipped as part of the Takahe package.
+# Author: Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
+
+[Unit]
+Description=Takahe Stator
+PartOf=takahe.target
+
+[Service]
+User=_takahe
+Group=_takahe
+
+ExecStart=/usr/libexec/takahe/manage.py runstator
+
+PrivateDevices=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectHome=yes
+ProtectKernelLogs=yes
+ProtectSystem=strict
+RestrictAddressFamilies=AF_INET6 AF_INET
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+
+[Install]
+WantedBy=multi-user.target