mirror of
https://github.com/janeczku/calibre-web
synced 2024-10-31 23:26:20 +00:00
Updated Setup Service on Linux (markdown)
parent
4dcf76f115
commit
6626e640f8
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user