Skip to content

Setup Service on Linux

Ozzieisaacs edited this page Mar 6, 2020 · 9 revisions

Start Calibre-Web as service under Linux with systemd

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.