Moin,
ich hab ein tolles init.d script was unter CentOS 5 laufen soll, tut es auch, aber leider nicht arbeitet es nicht mit chkconfig zusammen welcher oben genannte ausschrift bringt.
ideen vorschläge ?
#! /bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin
case "$1" in
start)
echo -n "Starting was tolles"
irgendwas -parameter
"
echo "."
;;
stop)
echo -n "Stopping as tolles"
killall was tolles
echo "."
;;
force-reload|restart)
sh $0 stop
sh $0 start
;;
*)
echo "Usage: /etc/init.d/tollesding {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
*edit
ok, hat sich geklärt, man für
###
# chkconfig: 2345 55 25
# description: tolles ding managed by chkconfig
###