blob: 790b49bd077005918e0a9edd9b27183d8a4155bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Calibre Ebook Server!
# Prerequisites
PKG calibre
CMD pw useradd -n calibre -m -u 444
CMD mkdir -p /var/db/calibre/books
FSTAB /zroot/calibre /var/db/calibre nullfs rw 0 0
FSTAB /zroot/calibre/books /var/db/calibre/books nullfs rw 0 0
# Start server
SYSRC calibre_enable=YES
SYSRC calibre_library="/var/db/calibre/books"
SYSRC calibre_flags="--enable-auth --userdb /var/db/calibre/users.db"
SERVICE calibre restart
|