mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
19 lines
354 B
SYSTEMD
19 lines
354 B
SYSTEMD
|
[Unit]
|
||
|
Description=uWSGI instance for __APP__
|
||
|
Requires=network.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
RemainAfterExit=yes
|
||
|
WorkingDirectory=__FINALPATH__
|
||
|
ExecStart=/usr/bin/uwsgi \
|
||
|
--ini __FINALPATH__/syncserver.ini \
|
||
|
--socket __FINALPATH__/socket
|
||
|
Restart=always
|
||
|
StandardError=syslog
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|