1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Revert "Touch up the systemd unit to add optional sandboxing parameters"

This reverts commit 596e5303d38c9a1ef135af8456f8a643d834e476.

Reverted due to contradictions:

1. The unit specifies /opt/NzbDrone as startup (which is still true to Sonarr v2).
2. Sandbox isolation is out of scope of the example and 99% of the users would not be able to use it properly.
   It would have to contain the download client folder, temp folder, Sonarr appdata folder access etc.
   Users that might be inclined to use sandboxing should refer to the systemd documentation
   and these instructions should not be included in the example.

If you want to talk about it, contact us on IRC, forum or discord.
Taloth Saldono 2019-03-10 18:46:56 +01:00
parent 596e5303d3
commit 0667deb1b9

@ -182,9 +182,9 @@ Modern Linux systems have been updated to use the new `systemd` standard. This s
**Create the service file** **Create the service file**
_Be sure to modify the user, group, mono path and install directory._ This example unit assumes that Sonarr's executable is placed in /opt/Sonarr. _Be sure to modify the user, group, mono path and install directory._
Create the file using your favorite text editor at `/lib/systemd/system/sonarr.service`. Make sure to reload the systemd daemon afterwards using `sudo systemctl daemon-reload`. Create the file using your favorite text editor at `/lib/systemd/system/sonarr.service`
`sudo nano /lib/systemd/system/sonarr.service` `sudo nano /lib/systemd/system/sonarr.service`
@ -203,13 +203,6 @@ TimeoutStopSec=20
KillMode=process KillMode=process
Restart=on-failure Restart=on-failure
# These lines optionally isolate (sandbox) Sonarr from the rest of the system.
# Make sure to add any paths it might use to the list below (space-separated).
#ReadWritePaths=/opt/Sonarr /path/to/series/folder
#ProtectSystem=strict
#PrivateDevices=true
#ProtectHome=true
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```