smeserver-base/root/etc/e-smith/events/actions/systemd-isolate

5 lines
180 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/bash
/usr/bin/systemctl daemon-reload
/usr/bin/systemctl -q is-active sme-server.target || /usr/bin/systemctl isolate sme-server.target
/usr/bin/systemctl daemon-reload