summaryrefslogtreecommitdiff
path: root/roles/linux-ns/files/systemd/dn42_tinc@.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/linux-ns/files/systemd/dn42_tinc@.service')
-rw-r--r--roles/linux-ns/files/systemd/dn42_tinc@.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/linux-ns/files/systemd/dn42_tinc@.service b/roles/linux-ns/files/systemd/dn42_tinc@.service
index 8949467..bf17815 100644
--- a/roles/linux-ns/files/systemd/dn42_tinc@.service
+++ b/roles/linux-ns/files/systemd/dn42_tinc@.service
@@ -1,5 +1,3 @@
-# tinc inside dn42 namespace
-
[Unit]
Description=Tinc net %i in namespace dn42
Documentation=info:tinc
@@ -24,5 +22,10 @@ BindReadOnlyPaths=/etc/netns/dn42/resolv.conf:/etc/resolv.conf
ProtectSystem=strict
RuntimeDirectory=./tinc/dn42/
+PrivateTmp=true
+#tun
+#PrivateDevices=true
+PrivateIPC=true
+
#[Install]
#WantedBy=tinc.service