mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-01-22 06:08:35 +01:00
14 lines
324 B
SYSTEMD
14 lines
324 B
SYSTEMD
|
[Unit]
|
||
|
Description=MediaCMS uwsgi
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/home/mediacms.io/bin/uwsgi --ini /home/mediacms.io/mediacms/uwsgi.ini
|
||
|
ExecStop=/usr/bin/killall -9 uwsgi
|
||
|
RestartSec=3
|
||
|
#ExecRestart=killall -9 uwsgi; sleep 5; /home/sss/bin/uwsgi --ini /home/sss/wordgames/uwsgi.ini
|
||
|
Restart=always
|
||
|
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|