[systemd-devel] [PATCH 0/3] watchdog handling with systemd

Michael Olbrich m.olbrich at pengutronix.de
Tue Nov 8 02:29:05 PST 2011


Hi,

On Fri, Nov 04, 2011 at 03:38:39PM +0100, Michael Olbrich wrote:
> here is a new version of the first 3 patches updated as suggested.
> The actual /dev/watchdog handling is not part of this series. It needs some
> more work to finish.

so I tried to implement the /dev/watchdog handling inside systemd itself,
but I'm not sure where to put it.
I think it could be done as a unit. However, that would be a new type and
there will only ever be one, so I'm not so sure this is the right way to do
it. A unit would be nice to provide all the infrastructure: enable/disable,
configuration, unit timer, etc.
If not, the configuration could come from the global config file, cmdline
and kernel cmdline, but the rest?
So, to those of you that have a better understanding of the internal design
of systemd: what's the best way to do this?

Regards,
Michael Olbrich

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list