[Pacemaker] Upstart resources
Ante Karamatic
ivoks at ubuntu.com
Mon Feb 27 12:07:53 UTC 2012
On 27.02.2012 11:37, Andrew Beekhof wrote:
> I know, but whatever the admin specifies should over-rule the package
> maintainer's defaults.
I agree and that's how upstart works.
> From what you're saying, this is not possible with Upstart. Which is bad.
I said it's an option, not that it's not possible :) /etc/init/ssh.conf
defines ssh service/job. /etc/init/ssh.override is an override file that
overrides everything from .conf. There is a catch, and that's that
there's no 'norespawn' option.
So, if a package maintainer defined 'respawn' in .conf, you can't really
disable it without removing 'respawn' from job file. On the other hand,
you can override default respawn behavior (ssh service):
echo "respawn limit 1 1" >> /etc/init/ssh.override
That would stop respawning if service fails more than once within the
second.
I'd say that non-existing 'norespawn' option is a bug.
Best regards
More information about the Pacemaker
mailing list