[Unit] Description=WGTools WireGuard Server Manager After=network-online.target Wants=network-online.target [Service] Type=simple User=root Group=root WorkingDirectory=/opt/wgtools EnvironmentFile=-/etc/wgtools/wgtools.env EnvironmentFile=-/etc/wgtools/https.env ExecStart=/opt/wgtools/scripts/wgtools-web Restart=on-failure RestartSec=3 PrivateTmp=true ProtectHome=true [Install] WantedBy=multi-user.target