On Fre, 31 Aug 2001, Rolf Varga wrote:
case "$1" in pid="/bin/cat /home/logsurfer/logsurfer.pid" ^ ^ kill -TERM $pid && \ rm -f $PIDFILE
Shutting down service logsurfer/etc/init.d/logsurfer: kill: /bin/cat: no such pid /etc/init.d/logsurfer: kill: /home/logsurfer/logsurfer.pid: no such pid
Schau mal genau hin ;) Ach ja, startproc/checkproc/killproc sind evtl. geeigneter... schau in die anderen startscripte fuer Beispiele... -dnh -- "All software sucks, but we still use software. All hardware sucks, but I've got quite a pile of that around me too. All social interaction sucks, but getting loved and laid beats the crap out of the alternatives much as a real OS beats the crap out of GameOS." -- adb in b.l-w