that won't work. you do not want a link to the actual executable, but a service control script that references it indirectly. for example:
Code:
#!/bin/sh
# Begin /etc/init.d/
source /etc/init.d/functions
case "$1" in
start)
echo -n "Starting giftd..."
daemon su - gift -c \"giftd -d\"
echo
;;
stop)
echo -n "Stopping giftd..."
killproc giftd
echo
;;
restart)
$0 stop
/bin/sleep 1
$0 start
;;
status)
status giftd
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
# End /etc/init.d/
but that's not for apache, which normally has a much longer script. these scripts are also frequently distro dependent, and i've not seen a script for erm.... fasf linux (please fill it in *properly* it's there for a reason)