From 456e60a20602e86f8b2e520be84d3d7425eee604 Mon Sep 17 00:00:00 2001 From: Arya K <73596856+gi-yt@users.noreply.github.com> Date: Mon, 30 May 2022 14:23:43 +0000 Subject: [PATCH] Create the systemd service-file --- wg-easy.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 wg-easy.service diff --git a/wg-easy.service b/wg-easy.service new file mode 100644 index 00000000..1410d36f --- /dev/null +++ b/wg-easy.service @@ -0,0 +1,17 @@ +[Unit] +Description=The easiest way to run WireGuard VPN with Web-based Admin UI +[Service] +Environment=DEBUG=Server,Wireguard +# Your server IP/domain +Environment=WG_HOST=REPLACEME +# IP Range for Devices to use +Environment=WG_DEFAULT_ADDRESS=10.7.0.x +# Default DNS +Environment=WG_DEFAULT_DNS=9.9.9.9 +# Admin Panel Password (Please use a strong and complicated one) +Environment=PASSWORD=REPLACEME +WorkingDirectory=/app +ExecStart=node server.js + +[Install] +WantedBy=default.target