Update systemd.service

This commit is contained in:
siwinter 2019-10-21 13:56:55 +02:00 committed by GitHub
parent 429f5c6fae
commit 539e5f0949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,8 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
#ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
ExecStart=/bin/sh -c '/usr/bin/python __FINALPATH__/serv.py >> /var/log/__APP__/__APP__.log 2>&1'
[Install]
WantedBy=multi-user.target