Add Respondd restart after boot

This commit is contained in:
stebifan 2019-02-09 08:37:50 +01:00
parent 49ce07f3c2
commit ac72952a0b
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,8 @@ curl -X POST --data-urlencode 'payload={"text": "{{ sn_hostname }} is rebooted",
/bin/sleep 2 /bin/sleep 2
/bin/systemctl restart bird6 /bin/systemctl restart bird6
/bin/sleep 2 /bin/sleep 2
/bin/systemctl restart respondd
/bin/sleep 2
/bin/systemctl stop isc-dhcp-server /bin/systemctl stop isc-dhcp-server
/bin/sleep 2 /bin/sleep 2
/usr/bin/killall dhcpd /usr/bin/killall dhcpd

View File

@ -45,6 +45,8 @@ curl -X POST --data-urlencode 'payload={"text": "{{ sn_hostname }} is rebooted",
/bin/sleep 2 /bin/sleep 2
/bin/systemctl restart bird6 /bin/systemctl restart bird6
/bin/sleep 2 /bin/sleep 2
/bin/systemctl restart respondd
/bin/sleep 2
/bin/systemctl stop isc-dhcp-server /bin/systemctl stop isc-dhcp-server
/bin/sleep 2 /bin/sleep 2
/usr/bin/killall dhcpd /usr/bin/killall dhcpd