diff --git a/yunodiagnoser.service b/yunodiagnoser.service index 7500849..bf88bdc 100644 --- a/yunodiagnoser.service +++ b/yunodiagnoser.service @@ -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]