i not comfortable to pass my login info,
as i either need to give out my login info,
or i have to remove/change it temporary..
I have google around and use the Cron method as workaround
for other people who interested on the workaround,
run crontab -e
in Terminal
(first time run this will ask to choose a editor, just use nano)
then add in a new row or multiple rows if you have multiple NodeJS project
@reboot /bin/bash -c "sleep 15; sudo -u www /www/server/nodejs/vhost/scripts/WireGuard.sh"
adjust sleep
for the N second delay,
adjust sudo -u
for run the script as different user,
remove sudo -u www
if wan to run as root
once done, press Ctrl + S to save and Ctrl + X to close nano,
reboot system and you shall saw the effect..