summarylogtreecommitdiffstats
path: root/peerunityd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'peerunityd@.service')
-rw-r--r--peerunityd@.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/peerunityd@.service b/peerunityd@.service
index 1b05e88ecef0..9990797183a1 100644
--- a/peerunityd@.service
+++ b/peerunityd@.service
@@ -6,7 +6,14 @@ After=network.target
User=%i
Group=users
Type=simple
+RestartSec=15
+Restart=on-failure
ExecStart=/usr/bin/peerunityd
+## security
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+NoNewPrivileges=true
[Install]
WantedBy=multi-user.target