mirror of
https://github.com/YunoHost/check-http.git
synced 2024-09-03 19:56:42 +02:00
11 lines
373 B
Desktop File
11 lines
373 B
Desktop File
[Unit]
|
|
Description=A server providing features for remote-diagnosis for Yunohost servers
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ WORKING_DIR }}
|
|
ExecStart={{ WORKING_DIR }}/venv/bin/python3 yunodiagnoser.py &> server.log
|
|
ExecStop=/bin/kill `/bin/ps aux | /bin/grep yunodiagnoser.py | /bin/grep -v grep | /usr/bin/awk '{ print $2 }'`
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|