smeserver-geneweb/root/etc/e-smith/events/actions/restart-smanager

6 lines
149 B
Bash

#!/bin/sh
if (systemctl is-active smanager) then
echo "Generate config files & restart smanager"
/sbin/e-smith/signal-event smanager-refresh;
fi