Parcourir la source

concierge-status: run needrestart

guillaume il y a 7 ans
Parent
commit
168acfdd9f
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/concierge-status

+ 5 - 0
src/concierge-status

@@ -11,3 +11,8 @@ fi
 if type "dpkg" > /dev/null; then
   dpkg --audit 2>&1 | $LOGGER
 fi
+
+# needrestart: check which daemons need to be restarted after library upgrades
+if type "needrestart" > /dev/null; then
+  needrestart -u NeedRestart::UI::stdio -q -r l | $LOGGER
+fi