1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
iiab/roles/calibre/templates/calibre-serve.service.j2

15 lines
517 B
Text
Raw Normal View History

2017-05-27 18:09:50 +00:00
[Unit]
Description=Provides the Calibre Book Server
After=syslog.target network.target local-fs.target
[Service]
Type=forking
PIDFile=/var/run/calibre.pid
2018-09-06 15:38:35 +00:00
TimeoutStartSec=600
2018-07-07 18:53:30 +00:00
ExecStart=/usr/bin/calibre-server --daemonize --log=/var/log/calibre.log --pidfile=/var/run/calibre.pid --port={{ calibre_port }} --enable-auth --userdb={{ calibre_userdb }} {{ calibre_dbpath }}
2017-11-15 01:45:27 +00:00
2017-05-27 18:09:50 +00:00
[Install]
2018-09-06 15:38:35 +00:00
# 2018-09-06: @jvonau believes the line below is bogus, so we're removing it per #1096
#TimeoutStartSec=900
2017-05-27 18:09:50 +00:00
WantedBy=multi-user.target