mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
for Calibre 3.x
This commit is contained in:
parent
8106ed5df1
commit
6f702b42e2
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…
Add table
Add a link
Reference in a new issue