calibre-web - new seq for installation from pip and basic setup

This commit is contained in:
2022-02-26 23:03:29 +01:00
parent 141b16e804
commit ebcdbb88bd
2 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
CALWEB_BASE="/opt/calibre-web"
CALWEB_VENV_ROOT="$CALWEB_BASE/venv"
CALWEB_USER_HOME="$CALWEB_BASE/home"
CALWEB_USER="calibreweb"
CALWEB_SERVICE="[Unit]
Description=Calibre-Web
After=network-online.target
[Service]
Type=simple
User=$CALWEB_USER
ExecStart="$CALWEB_VENV_ROOT/bin/cps"
[Install]
WantedBy=multi-user.target"