{"id":59,"date":"2016-07-09T21:22:44","date_gmt":"2016-07-10T04:22:44","guid":{"rendered":"https:\/\/csteele.io\/blog\/?p=59"},"modified":"2016-07-09T21:22:44","modified_gmt":"2016-07-10T04:22:44","slug":"systemd-for-sonarr-couchpotato-nzbget","status":"publish","type":"post","link":"https:\/\/gravemind.sh\/blog\/?p=59","title":{"rendered":"systemd for Sonarr \/ Couchpotato \/ NZBGet"},"content":{"rendered":"<p><strong>Sonarr<\/strong><\/p>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/systemd\/system\/sonarr.service\">[Unit]\nDescription=Sonarr Daemon\nAfter=syslog.target network.target\n\n[Service]\nUser=USER\n\nType=simple\nExecStart=\/usr\/bin\/mono \/opt\/NzbDrone\/NzbDrone.exe -nobrowser\nTimeoutStopSec=20\nKillMode=process\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>CouchPotato<\/strong><\/p>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/systemd\/system\/couchpotato.service\">[Unit]\nDescription=CouchPotato application instance\nAfter=network.target\n\n[Service]\nExecStart=\/opt\/CouchPotatoServer\/CouchPotato.py\nType=simple\nUser=USER\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>NZBGet<\/strong><\/p>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/systemd\/system\/nzbget.service\">[Unit]\nDescription=NZBGet Daemon\nDocumentation=http:\/\/nzbget.net\/Documentation\nAfter=network.target\n\n[Service]\nUser=USER\nType=forking\nExecStart=\/opt\/nzbget\/nzbget -c \/opt\/nzbget\/nzbget.conf -D\nExecStop=\/opt\/nzbget\/nzbget -Q\nExecReload=\/opt\/nzbget\/nzbget -O\nKillMode=process\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sonarr [Unit] Description=Sonarr Daemon After=syslog.target network.target [Service] User=USER Type=simple ExecStart=\/usr\/bin\/mono \/opt\/NzbDrone\/NzbDrone.exe -nobrowser TimeoutStopSec=20 KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target &nbsp; CouchPotato [Unit] Description=CouchPotato application instance After=network.target [Service] ExecStart=\/opt\/CouchPotatoServer\/CouchPotato.py Type=simple User=USER [Install] WantedBy=multi-user.target &nbsp; NZBGet [Unit] Description=NZBGet Daemon Documentation=http:\/\/nzbget.net\/Documentation After=network.target [Service] User=USER Type=forking ExecStart=\/opt\/nzbget\/nzbget -c \/opt\/nzbget\/nzbget.conf -D ExecStop=\/opt\/nzbget\/nzbget -Q ExecReload=\/opt\/nzbget\/nzbget -O KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1,10],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized","category-usenet"],"_links":{"self":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":0,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}