Two separate sonarr instances via systemd
Here is how to have two different Sonarr instances (for example 4k and standard deff). Change the location after --data=
to wherever you want the data to be.⌗
Since lidarr/radarr are both based on sonarr I would assume you could do it the same way with those as well.
nano /etc/systemd/system/sonarr.service
[Unit]
Description=Sonarr Daemon
After=network.target
[Service]
User=plex
Group=plex
StandardOutput=null
Type=simple
ExecStart=/usr/bin/mono /opt/Sonarr/Sonarr.exe -nobrowser --data=/opt/DB/Sonarr
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
nano /etc/systemd/system/sonarr4k.service
[Unit]
Description=Sonarr Daemon
After=network.target
[Service]
User=plex
Group=plex
StandardOutput=null
Type=simple
ExecStart=/usr/bin/mono /opt/Sonarr/Sonarr.exe -nobrowser --data=/opt/DB/Sonarr4k
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Now we need to reload, enable, and start both services⌗
systemctl daemon-reload systemctl enable sonarr sonarr4k –now
<- OTHERS ->