Re: înit script
"Andreas Altenburg" <[EMAIL PROTECTED]> wrote: >env: svscan no such file or directory > >i do not understand exactly the meaning of "svscan". Where is my >mistake??? If you installed according to the current version of LWQ, you should also have installed daemontools 0.61, which contains svscan. From this and your other messages to the list, it appears you have a mismatch between LWQ and daemontools versions. The old LWQ used daemontools 0.53, which included cyclog and setuser. The current LWQ uses daemontools 0.61, which includes multilog, setuidgid, and svscan. I think you need to stop, count to ten, re-download the current version of LWQ from http://Web.InfoAve.Net/~dsill/lwq.html, and start over from scratch following the directions *very* carefully. -Dave
Re: înit script
Your problem is this line: env - PATH="$PATH" svscan & the svscan isn't found. Either you don't have that app, or it's not in your path. Nothing more.. Philip Andreas Altenburg wrote: > my script: > > case "$1" in > start) > echo -n "Starting qmail: svscan" > cd /var/qmail/supervise > env - PATH="$PATH" svscan & > echo &! > /var/run/svscan.pid > echo "." > ;; > > the error: > > env: svscan no such file or directory > > i do not understand exactly the meaning of "svscan". Where is my mistake???
înit script
my script: case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo &! > /var/run/svscan.pid echo "." ;; the error: env: svscan no such file or directory i do not understand exactly the meaning of "svscan". Where is my mistake???