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

Re: Config file management utility

Joey Hess <joey@kitenet.net> wrote:
> Having a user for mrtg doesn't seem very appropriate to me, though.
> Mrtg is a simple program, that needs to run every 5 minutes. A user is
> overkill.

If a user is overkill then cron probably is too.  You'd probably do
fine with something like

	trap "" SIGHUP
	su nobody -c '
			while sleep 300; do
			done </dev/null >/dev/null 2>&1 &
			echo $!
		' >/var/run/mtrg.pid


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: