Shell Script from Custom Commands

2 posts / 0 new
Last post
#1 Wed, 11/04/2009 - 05:15
svenx

Shell Script from Custom Commands

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! "

Wed, 11/04/2009 - 06:43
andreychek

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

Topic locked