aboutsummaryrefslogtreecommitdiffstats
path: root/system/rtorrent@.service
diff options
context:
space:
mode:
Diffstat (limited to 'system/rtorrent@.service')
-rw-r--r--system/rtorrent@.service7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/rtorrent@.service b/system/rtorrent@.service
index 61cfc85..daf831f 100644
--- a/system/rtorrent@.service
+++ b/system/rtorrent@.service
@@ -1,6 +1,6 @@
[Unit]
Description=rTorrent
-Requires=openvpn@secure.service
+Requires=openvpn-client@secure.service
[Service]
Type=forking
@@ -14,6 +14,11 @@ ExecStart=/usr/bin/tmux -L rt new-session -s rt -n rtorrent -d rtorrent
ExecStop=/usr/bin/tmux -L rt send-keys -t rt:rtorrent C-q
WorkingDirectory=/home/%i/Downloads/
Restart=on-failure
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectSystem=strict
+ProtectKernelTunables=true
+ProtectControlGroups=true
[Install]
WantedBy=default.target