9/12/2023 0 Comments Install sonarr serviceMake the script executable sudo chmod +x /etc/init/nzbdrone. Hit Ctrl-X, press Enter and then Y to exit nano. If you installed using a deb package or the NzbDrone Repository you do not need to change this Setuid yourusername #This is the install directory. Should probably be what you use for logging in #description "Upstart Script to run NzbDrone as a service on Ubuntu/Debian based systems, as well as others" #Set username for the process. Now create the nzbdrone upstart file sudo nano /etc/init/nfĬhange yourusername to the username you use to log on #author "Simon Tallmyr - Nosscire" Install Upstart sudo apt-get install upstart This should not be done on Ubuntu 15.x unless you already use upstart for personal reasons. This is optional, however do not specifically set this to an empty string as this will cause the daemon to run as root. Update the Sonarr init.d to start on boot sudo update-rc.d nzbdrone defaults to enable this service: sonarrenable: Set to YES to enable sonarr Default: NO sonarruser: The user account used to run the sonarr daemon. Make the Sonarr init.d script executable sudo chmod +x /etc/init.d/nzbdrone NZBDRONE_PID=`ps auxf | grep NzbDrone.exe | grep -v grep | awk '" >&2 # Description: starts instance of NzbDrone using start-stop-daemon # Short-Description: starts instance of NzbDrone # Required-Stop: $local_fs $network $remote_fs # Required-Start: $local_fs $network $remote_fs Paste this long code and change htpcguides to your user #! /bin/sh This is the preferred method for Ubuntu 14.x and 15.x since init.d works on all distributionsĬreate the Sonarr (NzbDrone) init.d script file sudo nano /etc/init.d/nzbdrone If it loads then you can make it run on boot, press Ctrl-C to get out of the Sonarr (Nzbdrone) process Autostart Sonarr (NzbDrone) Autostart Sonarr with init.d Script Make sure Sonarr runs mono /opt/NzbDrone/NzbDrone.exe Remove the custom NzbDrone list to avoid future dependency issues sudo rm /etc/apt//sonarr.listĬhange the ownership of the Sonarr folder to your regular user and its group, replace both instances of htpcguides as your user and group sudo chown -R htpcguides: htpcguides /opt/NzbDrone Now update and install nzbdrone sudo apt-get update Update and upgrade packages sudo apt-get update & sudo apt-get upgrade -yĪdd the mono repository from Xamarin to make sure you get the latest version sudo apt-key adv -keyserver hkp://:80 -recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EFĮcho "deb wheezy main" | sudo tee /etc/apt//mono-xamarin.listĮnable apt-get to install from https sources sudo apt-get install apt-transport-https -yĪdd source repositories for Nzbdrone sudo apt-key adv -keyserver -recv-keys FDA5DFFCĮcho "deb master main" | sudo tee -a /etc/apt//sonarr.list
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |