I finally got around to spending the time to figure out what I was doing wrong.
This is working for me:
/etc/init/calibre-server.conf:
Code:
description "Calibre (ebook manager) content server"
start on runlevel [2345]
stop on runlevel [^2345]
respawn
env LIBRARY_PATH=/home/jdege/CalibreLibrary
env PORT=9980
setuid jdege
setgid jdege
script
exec /usr/bin/calibre-server --port=$PORT --daemonize $LIBRARY_PATH
end script