diff --git a/Setup-Service-on-Linux.md b/Setup-Service-on-Linux.md index 659bf8d..6ab6d53 100644 --- a/Setup-Service-on-Linux.md +++ b/Setup-Service-on-Linux.md @@ -8,15 +8,15 @@ Description=Calibre-Web [Service] Type=simple -User=[Username] -ExecStart=[path to python] [/PATH/TO/cps.py] -WorkingDirectory=[/PATH/TO/cps.py] +User={Username} +ExecStart={path to python} {/PATH/TO/cps.py including cps.py} +WorkingDirectory={/PATH/OF/CPS.PY without cps.py} [Install] WantedBy=multi-user.target ``` -Replace the user and ExecStart with your user and foldernames. +Replace the elements in '{}' like User, ExecStart and WorkingDirectory with your username and file- and foldernames. `sudo systemctl enable cps.service`