https://bugs.contribs.org/show_bug.cgi?id=11052

--- Comment #7 from Brian Read <[email protected]> ---
Added action "contribs-possible-restart-smanager"

#!/bin/sh
if (systemctl list-unit-files |grep smanager) then
  echo "Restarting smanager"
  /sbin/e-smith/signal-event manager2-refresh;
  systemctl restart smanager
else
 echo "Smanager not loaded"
fi

Linked to it from /etc/e-smith/events/smeserver-vacation-update, using entry in
createlinks:

event_link("contribs-possible-restart-smanager","smeserver-vacation-update","10");[brianr@smebuild
smeserver-vacation-1.1]$ 

Planning to add this to a basse rpm OR create a seperate rpm with this action
and make it a requirement of any contrib that has an smanager panel.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to