1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00
monitorix_ynh/hooks/post_iptable_rules
2024-04-08 00:28:45 +02:00

8 lines
206 B
Text

#/bin/bash
if systemctl is-active __APP__.service --quiet; then
systemctl stop monitorix.service
sleep 1
pkill -f "monitorix-httpd listening on" || true
systemctl start __APP__.service
fi