Przeglądaj źródła

lawipac calibre library service

master
Gitea 5 lat temu
rodzic
commit
9773140a89
1 zmienionych plików z 15 dodań i 0 usunięć
  1. +15
    -0
      lawipac.com/etc/systemd/system/calibre-server.service

+ 15
- 0
lawipac.com/etc/systemd/system/calibre-server.service Wyświetl plik

[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=www-data
Group=www-data
ExecStart=/opt/calibre/calibre-server --listen-on 127.0.0.1 --shutdown-timeout 3 --url-prefix /books /var/www/MyBooks
##ExecStop=/opt/calibre/calibre-server --shutdown 1 "/var/www/MyBooks"
KillMode=process
TimeoutSec=900

[Install]
WantedBy=multi-user.target

Ładowanie…
Anuluj
Zapisz