1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

systemd tweak

This commit is contained in:
Krakinou 2018-12-09 23:09:32 +01:00
parent bdcaf5f6c9
commit edee529169
2 changed files with 14 additions and 1 deletions

View file

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

13
temp/systemd.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=calibreweb
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=/usr/bin/python __FINALPATH__/cps.py >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target