Hi,

this patch series make the service property StartLimitAction writeable. The
first two patches are preparation to make it posible. The third patch
actually implements this.
Why this is useful: Consider a service with rather strict watchdog
settings. StartLimitAction=reboot-force and low StartLimitBurst. If the
service for some reason crashes immediately, then the system might reboot
before a user can interfere.
With StartLimitAction writeable a 'supervisor' service can start before
this service and (based on some use-case dependent data) set
StartLimitAction to 'none'. The user can then resolve the issue.

Regards,
Michael

Michael Olbrich (3):
  dbus: add data argument to BusPropertySetCallback
  dbus: add generic DEFINE_BUS_PROPERTY_SET_ENUM() macro for enum
    properties
  dbus: make the service property StartLimitAction writeable

 src/dbus-common.c  |    6 +++++-
 src/dbus-common.h  |   17 ++++++++++++++++-
 src/dbus-manager.c |    4 ++--
 src/dbus-service.c |    5 +++--
 4 files changed, 26 insertions(+), 6 deletions(-)

-- 
1.7.9

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to