donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.56k stars 234 forks source link

issue in starting wg service #378

Open Salarsdg opened 1 month ago

Salarsdg commented 1 month ago

sc1

its my wg-dashboard.service : [Unit] After=netword.service

[Service] WorkingDirectory=/root/wgdashboard/src ExecStart=/usr/bin/python3 /root/wgdashboard/src/dashboard.py Restart=always StartLimitInterval=1

[Install] WantedBy=default.target

whats wrong with it?

donaldzou commented 1 month ago

Hi @Salarsdg , what would happen if you run this directly in your terminal?

/usr/bin/python3 /root/wgdashboard/src/dashboard.py
rcv11x commented 1 month ago

I have the same thing, I have the latest version of WGDashboard and if I reboot or shutdown and start the machine it starts WDDashboard but I can't start the WG server and I have to manually enter the interface to start it.

rhammen commented 1 month ago

I had the same problem. What I discovered was the following: