aboutsummaryrefslogtreecommitdiff
path: root/dist/systemd/wgconfd-state@.service
diff options
context:
space:
mode:
Diffstat (limited to 'dist/systemd/wgconfd-state@.service')
-rw-r--r--dist/systemd/wgconfd-state@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/systemd/wgconfd-state@.service b/dist/systemd/wgconfd-state@.service
new file mode 100644
index 0000000..6aed8e8
--- /dev/null
+++ b/dist/systemd/wgconfd-state@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=WireGuard runtime state for %i
+
+[Service]
+Type=oneshot
+ExecStart=/bin/true
+RemainAfterExit=true
+RuntimeDirectory=wgconfd/%i
+RuntimeDirectoryMode=0700
+RuntimeDirectoryPreserve=no