Part Number: AM3358
Tool/software: Linux
Hi,
I created sdcard for booting on BBB. I want to host some webpages on it. I use the lighttpd web server for it.
My application requires that when the user submits a page, some shell script should be executed. The shell script stops the shairport-sync application installed on the sd card.
I use the command: systemctl stop shairport-sync
However the script does not execute through a browser, since it requires root priviliges. I changed the owner of the script to www-data, but it still does not have permissions to execute the systemctl command.
Since sudo does not work on arago, I can't even do a sudo systemctl ...
Could you please suggest how do I resolve the issue?
Thanks & Regards,
Priyam