summarylogtreecommitdiffstats
path: root/tincd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'tincd@.service')
-rw-r--r--tincd@.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/tincd@.service b/tincd@.service
index 9be81b41dad..4b2d850d808 100644
--- a/tincd@.service
+++ b/tincd@.service
@@ -3,10 +3,11 @@ Description=tinc vpn on network %i
After=network.target
[Service]
-Type=forking
-ExecStart=/usr/sbin/tincd --user=nobody --net=%i
+Type=simple
+ExecStart=/usr/sbin/tincd --no-detach --net=%i
ExecReload=/usr/bin/tinc --net %I reload
-Restart=on-abnormal
+Restart=on-failure
+RestartSec=5
[Install]
WantedBy=multi-user.target