diff options
Diffstat (limited to 'mkosi.extra/etc/systemd/system/ffsync.service')
-rw-r--r-- | mkosi.extra/etc/systemd/system/ffsync.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/system/ffsync.service b/mkosi.extra/etc/systemd/system/ffsync.service new file mode 100644 index 0000000..d1ede04 --- /dev/null +++ b/mkosi.extra/etc/systemd/system/ffsync.service @@ -0,0 +1,24 @@ +[Unit] +Description=ffsync +Requires=network.target +After=network.target + +Type=simple +[Service] +ExecStart=/app/local/bin/gunicorn --paste /ffsync/syncserver.ini +SyslogIdentifier=ffsync +PrivateTmp=true +ProtectSystem=strict +ProtectHome=true +ProtectKernelTunables=true +ProtectControlGroups=true +ProtectKernelModules=true +InaccessiblePaths=/etc /home /opt /srv /var/local /var/mail +RemoveIPC=true +User=app +Group=app +WorkingDirectory=/data +#Restart=on-failure + +[Install] +WantedBy=multi-user.target |