Updated Setup Service on Linux (markdown)

Ozzie Isaacs 2020-03-06 18:29:32 +01:00
parent 4dcf76f115
commit 6626e640f8
1 changed files with 4 additions and 4 deletions

@ -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`