Hi everybody,
My question is in the subject.
Thanx for your help.
go to /service directory and give
ln -s /var/service/httpd-e-smith
service httpd-e-smith start
should work, but sincerely I don't know how to recreate /service/httpd-e-smith/log directories and their files
NOTE:
1) why did you call such a command? what did you trying to achieve?
2) next time, please, look into /etc/rc.d/init.d/ scripts.. you'll find that:
- httpd-e-smith is a symbolic link to daemontools
lrwxrwxrwx 1 root root 11 Dec 30 11:52 httpd-e-smith -> daemontools
and then, looking into daemontools script, you'll find what happen if you call svdisable flag
# This function not only shuts the service down, but removes the /service
# symlink and shuts down the logger. This should only be used during an
# uninstall of the service in question.
svdisable()
{
/bin/echo -n $"Disabling $prog:"
stop $1
cd $1 && rm -f $1
dirs=.
if [ -e log ]; then
dirs="$dirs ./log"
fi
/usr/bin/sv d $dirs
/usr/bin/sv x $dirs
if [ $? -ne 0 ]; then
failure "Disabling $prog"
else
success "Disabling $prog"
fi
/bin/echo
}
Edit: you already have answers
