Search the Community
Showing results for tags 'sysvinit'.
Hi, as I am using Debian Stretch with the classic SysVinit, the provided .deb file does not work correctly - as the package does not supply a init script. The older packages from the third party repository included one, but the emby.media-packages do not. So I created an init script which is working on my system, see the attached file (I had to rename it to .txt for being able to attach it). It uses the /etc/default/emby-server and /etc/emby-server.conf mechanism for setting the defaults and includes the commands from /opt/emby-server/bin/emby-server (as only one such script is really needed...). To start and stop Emby, it uses start-stop-daemon which works well on my system and creates/removes the PID file on its own to address the process. Feel free to use it or to include it in the next packages. Regards, Anna emby-server.txt