summarylogtreecommitdiffstats
path: root/wgui.service
diff options
context:
space:
mode:
Diffstat (limited to 'wgui.service')
-rw-r--r--wgui.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/wgui.service b/wgui.service
new file mode 100644
index 000000000000..027fbbd8e132
--- /dev/null
+++ b/wgui.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Restart WireGuard
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service
+
+[Install]
+RequiredBy=wgui.path