Re: starting/stopping daemons in package scripts
Joey Hess <joey@kitenet.net> writes:
> This just shows why policy should not specify. This is an area where the
> maintainer should be allowed to use common sense.
>
> If you maintain a package, you _wrote_ the init script. You know if it
> supports reload, and if so, you use it. Otherwise, you know it supports
> restart and you use that.
>
> Unless you posit maintainers are stupid, I don't see why we need policy here.
> And if we follow your suggested modification to policy, we will be making a
> reccommendation in policy that is often suboptimal.
I agree that this shouldn't be specified in policy, but I just thought
I'd point out that if you actually wanted to do ``reload if possible,
otherwise restart'' then what you want is ``force-reload''
Cheers, Phil.
Reply to: