I make a wireguard restart cron on UI, but seems it not do anything...
I check that it include /var/cron/tabs/nobody
i see the command that need to run it. If i try to run it manually it also not work...
su -m nobody -c '/usr/local/sbin/configctl -d 'wireguard restart''
So seems not the cron the probem, but these fuction (wg restart) are broken...
I had the same issue, while I made the definition on the GUI.
However, when I (unnecessarily) tried to give the parameter 'restart %s' it started working.
I tried it with and without that and it semmes to be the solution for me.
Maybe you can confirm
Quote from: vamp on February 16, 2025, 09:02:37 PMsu -m nobody -c '/usr/local/sbin/configctl -d 'wireguard restart''
So seems not the cron the probem, but these fuction (wg restart) are broken...
Surely you have to specify which Wireguard interface you want to restart?
su -m nobody -c '/usr/local/sbin/configctl -d 'wireguard restart wg0''
Have you tried that, replace 'wg0' with whichever Wireguard interface you want to restart?