Update yunodiagnoser.service

This commit is contained in:
Kayou 2023-04-14 14:34:10 +02:00 committed by GitHub
parent 694568dac7
commit 8e9c7f39d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ Description=A server providing features for remote-diagnosis for Yunohost server
[Service]
Type=simple
WorkingDirectory={{ WORKING_DIR }}
ExecStart={{ WORKING_DIR }}/venv/bin/python3.6 yunodiagnoser.py &> server.log
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]