aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/systemd/system/ffsync.service
blob: d1ede04caa490909947ed48e4370608d99024393 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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