wireguard-activate
WireGuard
WireGuard Activate
nano /etc/systemd/system/wg-http-activate.service
# enable service
systemctl daemon-reload
systemctl enable wg-http-activate.service[Unit]
Description=Activate WireGuard HTTP Trigger
After=network-online.target wg-quick@wg0.service
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/u01/crontab/00-start-wg.sh
[Install]
WantedBy=multi-user.targetLast updated