FAQ
Is this as robust as supervisor or upstart respawn where it will always
ensure the service is running or is it something different OR does it just
depend if the actual service itself has respawn within it?

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Daniel Jagszent at Jul 11, 2014 at 1:36 am
    Hi Justin,
    Is this as robust as supervisor or upstart respawn where it will
    always ensure the service is running or is it something different OR
    does it just depend if the actual service itself has respawn within it?
    http://docs.saltstack.com/en/latest/ref/states/all/salt.states.service.html#salt.states.service.enabled


    It is the second option. It just enables starting the service on boot.
    If the service dies it does not get restarted automagically by salt.

    So it does not replace a tool like monit or god.

    PS: if an upstart-service lacks a "respawn" in its ".conf" file, you
    could put an ".override" file with the "respawn" in place
    http://upstart.ubuntu.com/cookbook/#override-files
  • Justin Vincent at Jul 11, 2014 at 2:20 am
    Ah.

    Thanks, that's good to know.

    On 10 July 2014 18:36, Daniel Jagszent wrote:

    Hi Justin,

    Is this as robust as supervisor or upstart respawn where it will always
    ensure the service is running or is it something different OR does it just
    depend if the actual service itself has respawn within it?


    http://docs.saltstack.com/en/latest/ref/states/all/salt.states.service.html#salt.states.service.enabled

    It is the second option. It just enables starting the service on boot. If
    the service dies it does not get restarted automagically by salt.

    So it does not replace a tool like monit or god.

    PS: if an upstart-service lacks a "respawn" in its ".conf" file, you could
    put an ".override" file with the "respawn" in place
    http://upstart.ubuntu.com/cookbook/#override-files

    --
    *Justin Vincent*
    CTO



    direct: 818.731.2544
    office: 312.357.5459
    fax: 312.268.6334

    justin@digedu.com | www.digedu.com

    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedJul 10, '14 at 10:52p
activeJul 11, '14 at 2:20a
posts3
users3

People

Translate

site design / logo © 2022 Grokbase