mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
for Calibre 3.x
This commit is contained in:
parent
9c1bdb255c
commit
690640ab19
1 changed files with 2 additions and 5 deletions
|
@ -5,11 +5,8 @@ After=syslog.target network.target local-fs.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/calibre.pid
|
PIDFile=/var/run/calibre.pid
|
||||||
{% if is_debuntu %}
|
ExecStart=/usr/bin/calibre-server --daemonize --log=/var/log/calibre.log --pidfile=/var/run/calibre.pid --port={{ calibre_port }} {{ calibre_dbpath }}
|
||||||
ExecStart=/usr/bin/calibre-server --daemonize --pidfile=/var/run/calibre.pid --port={{ calibre_port }} --with-library={{ calibre_dbpath }}
|
|
||||||
{% else %}
|
|
||||||
ExecStart=/bin/calibre-server --daemonize --pidfile=/var/run/calibre.pid --port={{ calibre_port }} --with-library={{ calibre_dbpath }}
|
|
||||||
{% endif %}
|
|
||||||
[Install]
|
[Install]
|
||||||
TimeoutStartSec=900
|
TimeoutStartSec=900
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue