http-server-status/scripts/postinstall.sh

3 lines
137 B
Bash
Raw Normal View History

2021-09-20 09:44:27 +00:00
systemctl daemon-reload
2021-11-29 05:12:26 +00:00
systemctl is-active --quiet http-server-status && systemctl restart http-server-status && echo "Restart Service"