[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with debconf and start-stop-daemon



On Fri, Mar 22, 2002 at 01:42:30PM -0600, Steve Greenland wrote:

> Interesting. Would the following be a legitimate practice in the initscript?
> 
> 	start)
> 		rm -f /usr/sbin/foo.running
> 		ln /usr/sbin/foo /usr/sbin/foo.running
> 		start-stop-daemon --start --exec /usr/sbin/foo.running
>         ;;
> 	stop)
> 		start-stop-daemon --stop --exec /usr/sbin/foo.running
>         rm /usr/sbin/foo.running
>         ;;

Better would be to hide this ugly hack in start-stop-daemon, with a
--hardlink option.

-- 
 - mdz



Reply to: