Installing & Creating Sonarr Service in Ubuntu

Installing Sonarr

Add Sonarr’s repository to your software source

sudo apt-key adv --keyserver --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
echo "deb master main" | sudo tee /etc/apt/sources.list.d/sonarr.list

Install/Update Sonarr

sudo apt update
sudo apt install nzbdrone 

Start Sonarr

mono --debug /opt/NzbDrone/NzbDrone.exe

Test Sonarr in a Browser


Kill the Sonarr process with Ctrl+C so we can start it automatically on boot using a systemd script

Creating Sonarr Service

Download the file sonarr.txt, rename it to sonarr.service and copy it to /etc/systemd/system/

Be sure to modify the user, group, mono path and install directory if required.

Setup Sonarr to run at start up

sudo systemctl enable sonarr.service

Starting/Stopping Sonarr (and checking status)

sudo systemctl start sonarr.service
sudo systemctl stop sonarr.service
sudo systemctl status sonarr.service