-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Setup Service on Linux
Ozzieisaacs edited this page Mar 6, 2020
·
9 revisions
If you want to get Calibre-Web started automatically after reboot follow this instructions. Create a file "cps.service" as root in the folder /etc/systemd/system with the following content:
[Unit]
Description=Calibre-Web
[Service]
Type=simple
User=[Username]
ExecStart=[path to python] [/PATH/TO/cps.py]
WorkingDirectory=[/PATH/TO/cps.py]
[Install]
WantedBy=multi-user.target
Replace the user and ExecStart with your user and foldernames.
sudo systemctl enable cps.service
enables the service.