diff options
author | Georg Pfuetzenreuter | 2022-12-18 16:46:54 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2022-12-18 16:46:54 +0100 |
commit | 9501cbf678a4ef99ccbd8c53f35b3209569f4c8e (patch) | |
tree | 29ea371a405197037d120a8d9848971a547de227 /SUSE/takahe-stator.service | |
parent | 86bc48f3e0b57bd63673324c1177e93da806de7a (diff) | |
download | takahe-libertacasa-package.tar.gz takahe-libertacasa-package.tar.bz2 takahe-libertacasa-package.zip |
Import packaging fileslibertacasa-package
- setup.py to install the library as a Python package
- systemd services and target for running as a daemon
- sysconfig file providing environment variables to the application
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'SUSE/takahe-stator.service')
-rw-r--r-- | SUSE/takahe-stator.service | 25 |
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 |