#!/bin/sh # Source function library. . /etc/rc.d/init.d/functions # See how we were called. case "$1" in start) # Start daemons. echo -n "Start load data daemon" perl home/magda/WorkArea/MyPerlScripts/DaemonScripts/TestDaemon.pl ;; stop) # Stop daemons. ;; restart) $0 stop $0 start ;; esac