summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/resourced.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/resourced.spec b/packaging/resourced.spec
index c8c20d3c..1f186898 100644
--- a/packaging/resourced.spec
+++ b/packaging/resourced.spec
@@ -156,6 +156,11 @@ mkdir -p %{buildroot}/%{TZ_SYS_GLOBALUSER_DATA}/heart
mkdir -p %{buildroot}/%{TZ_SYS_GLOBALUSER_DB}
popd
+%if %{?watchdog_module} == ON
+%post watchdog-handler
+chsmack %{_bindir}/resourced-watchdog-handler -a "System::Tools"
+%endif
+
%post config-tv
mv %{confdir}/optimizer-profile-tv.conf %{confdir}/optimizer.conf