These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Shell Script from Custom Commands on the new forum.
Can someone tell me why this ain't working? I'm running on Ubuntu 8.04.2 LTS and Virtualmin 3.7 GPL When I run this script (http://testndev.jope.ee/code.html) from Custom Commands I get error message "start-stop-daemon: command not found ...fail! "
The program "start-stop-daemon", which is in "/sbin", probably isn't in your path.
One way to resolve that would be to edit that script, and set /sbin to be in your path.
You may also want to make sure /sbin is setup globally in Virtualmin's path -- by going into Webmin -> Webmin -> Webmin Configuration -> Operating System and Environment, and make sure /sbin is setup in the "Program Search Path" field.
-Eric