瀏覽代碼

lawipac calibre library service

master
Gitea 5 年之前
父節點
當前提交
9773140a89
共有 1 個檔案被更改,包括 15 行新增0 行删除
  1. +15
    -0
      lawipac.com/etc/systemd/system/calibre-server.service

+ 15
- 0
lawipac.com/etc/systemd/system/calibre-server.service 查看文件

@@ -0,0 +1,15 @@
[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

Loading…
取消
儲存