Closed jrudess closed 6 years ago
Thanks for the patch, I have included it. Just for my own interest, why would not having wget stop you shutting lazylibrarian down?
wget is used to send the shutdown request to the server. Sending sigint to the pid may be just as clean of a shutdown, but I didn't experiment with that. If I remember right the old headphones freebsd.init files also used this method.
${WGET} -O - -q --user=${LLUSR} --password=${LLPWD} "http://${HOST}:${PORT}/shutdown/" >/dev/null
I've been running with these modifications for quite a while now on my Freenas server (freebsd 11 jails).