You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
354 B
19 lines
354 B
[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
|