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

Re: [bug] Restarting Daemons on package install/upgrade.

> > Please, if you maintain a daemon package, fix it, for potato, so that it
> > only restarts if there's a link to the init.d script from the runlevel
> > directory of the current runlevel.
> How do you suggest that this be done?

[ -x /etc/rc`/sbin/runlevel | sed -e 's/^.* //'`.d/S[0-9][0-9]sendmail ] &&
echo "Sendmail should be runned on current runlevel"

Or something like this.
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Attachment: pgpChl_URvhlx.pgp
Description: PGP signature

Reply to: