summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/tinc/files/tincd_at.service')
-rw-r--r--net-misc/tinc/files/tincd_at.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/tinc/files/tincd_at.service b/net-misc/tinc/files/tincd_at.service
index 1cbf8af28dd7..71f358a39d95 100644
--- a/net-misc/tinc/files/tincd_at.service
+++ b/net-misc/tinc/files/tincd_at.service
@@ -3,7 +3,8 @@ Description=Tinc daemon for network %i
After=network.target
[Service]
-ExecStart=/usr/sbin/tincd -D -n %i
+ExecStart=/usr/sbin/tincd -D --pidfile /run/tinc.%i.pid -n %i
+Restart=on-failure
[Install]
WantedBy=multi-user.target