I have added mono /opt/NzbDrone/NzbDrone.exe
to /etc/rc.local
in my Raspberry Pi 2 but Sonarr doesn’t start at boot. As OSMC uses Debian Jessie I cannot use upstart
as it uses systemd
.
Here is the file:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
nzbget -D
/usr/bin/mono /opt/NzbDrone/NzbDrone.exe
exit 0
This did the trick!