diff --git a/conf/systemd.service b/conf/systemd.service index ba0a0e5..23b43e6 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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 diff --git a/temp/systemd.service b/temp/systemd.service new file mode 100644 index 0000000..ba0a0e5 --- /dev/null +++ b/temp/systemd.service @@ -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