aboutsummaryrefslogtreecommitdiff
path: root/wgconfd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'wgconfd@.service')
-rw-r--r--wgconfd@.service18
1 files changed, 0 insertions, 18 deletions
diff --git a/wgconfd@.service b/wgconfd@.service
deleted file mode 100644
index 1079fbf..0000000
--- a/wgconfd@.service
+++ /dev/null
@@ -1,18 +0,0 @@
-[Unit]
-Description=Configure WireGuard interface
-Wants=network-pre.target
-Before=network-pre.target nftables.service systemd-networkd.service NetworkManager.service
-
-[Service]
-Type=simple
-CapabilityBoundingSet=CAP_NET_ADMIN
-RuntimeDirectory=wgconfd
-CacheDirectory=wgconfd
-ExecStartPre=+-/usr/sbin/ip link add %i type wireguard
-ExecStartPre=+/usr/bin/wg setconf %i /etc/wireguard/%i.conf
-ExecStart=/usr/bin/env wgconfd %i /etc/wireguard/%i.toml
-StandardError=journal
-SyslogLevelPrefix=true
-
-[Install]
-WantedBy=multi-user.target