Browse Source

Create the systemd service-file

pull/269/head
Arya K 4 years ago
committed by GitHub
parent
commit
456e60a206
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      wg-easy.service

17
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
Loading…
Cancel
Save