diff --git a/watchdog-ping.service b/watchdog-ping.service index cbb6cc3..da403c9 100644 --- a/watchdog-ping.service +++ b/watchdog-ping.service @@ -1,11 +1,12 @@ [Unit] -Description=watchdog daemon +Description=watchdog daemon for use with ping test / network dependency After=network.target Conflicts=watchdog.service [Service] Type=forking ExecStart=/usr/sbin/watchdog +ControlGroup=cpu:/ [Install] WantedBy=multi-user.target diff --git a/watchdog.service b/watchdog.service index e5847b9..3c36a08 100644 --- a/watchdog.service +++ b/watchdog.service @@ -6,6 +6,7 @@ Description=watchdog daemon [Service] Type=forking ExecStart=/usr/sbin/watchdog +ControlGroup=cpu:/ [Install] WantedBy=multi-user.target diff --git a/watchdog.spec b/watchdog.spec index 6463215..f495f7a 100644 --- a/watchdog.spec +++ b/watchdog.spec @@ -1,7 +1,7 @@ Summary: Software and/or Hardware watchdog daemon Name: watchdog Version: 5.13 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ URL: http://sourceforge.net/projects/watchdog/ @@ -135,11 +135,13 @@ fi %changelog -* Thu Nov 7 2013 Ales Ledvinka - 5.13-7 -- Selinux: Add /usr/libexec/watchdog/scripts/ for test-bin and repair-bin to inherit from. +* Thu Nov 7 2013 Ales Ledvinka - 5.13-8 +- SELinux: Add /usr/libexec/watchdog/scripts/ for test-bin and repair-bin to inherit from. +- systemd: service with network dependency for ping test +- systemd: correct cgroup for realtime settings * Thu Oct 24 2013 Ales Ledvinka - 5.13-5 -- Selinux: do not reopen descriptors for reading when only appending. +- SELinux: do not reopen descriptors for reading when only appending. * Fri Aug 9 2013 Richard W.M. Jones - 5.13-4 - Fix License field (software is GPLv2+, not "GPL+").