Last active
March 25, 2020 21:01
-
-
Save sjoerd-dijkstra/751141d663cea9ffac13c3bfd9e3b808 to your computer and use it in GitHub Desktop.
NAS Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NZBGet Daemon | |
After=network.target | |
[Service] | |
Type=forking | |
User=%i | |
ExecStart=/opt/nzbget/nzbget -c /opt/nzbget/nzbget.conf -D | |
ExecStop=/opt/nzbget/nzbget -Q | |
ExecReload=/opt/nzbget/nzbget -O | |
KillMode=process | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Radarr Daemon | |
After=syslog.target network.target | |
[Service] | |
# Change the user and group variables here. | |
User=root | |
Group=root | |
Type=simple | |
# Change the path to Radarr or mono here if it is in a different location for you. | |
ExecStart=/usr/bin/mono --debug /opt/Radarr/Radarr.exe -nobrowser | |
TimeoutStopSec=20 | |
KillMode=process | |
Restart=on-failure | |
# These lines optionally isolate (sandbox) Radarr from the rest of the system. | |
# Make sure to add any paths it might use to the list below (space-separated). | |
#ReadWritePaths=/opt/Radarr /path/to/movies/folder | |
#ProtectSystem=strict | |
#PrivateDevices=true | |
#ProtectHome=true | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Sonarr Daemon | |
After=syslog.target network.target | |
[Service] | |
# Change the user and group variables here. | |
User=root | |
Group=root | |
Type=simple | |
# Change the path to Radarr or mono here if it is in a different location for you. | |
ExecStart=/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe | |
TimeoutStopSec=20 | |
KillMode=process | |
Restart=on-failure | |
# These lines optionally isolate (sandbox) Radarr from the rest of the system. | |
# Make sure to add any paths it might use to the list below (space-separated). | |
#ReadWritePaths=/opt/Radarr /path/to/movies/folder | |
#ProtectSystem=strict | |
#PrivateDevices=true | |
#ProtectHome=true | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Open VPN Services | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
WorkingDirectory=/root/privado.io | |
ExecStart=/usr/sbin/openvpn --config ams-005.ovpn --auth-user-pass privado-credentials --daemon | |
ExecStop=killall openvpn | |
TimeoutStartSec=0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment