alpine-ntfy: restart ntfy after update
This commit is contained in:
parent
3a5e03f275
commit
9c3ff0fda9
@ -31,6 +31,10 @@ function update_script() {
|
|||||||
$STD apk -U upgrade
|
$STD apk -U upgrade
|
||||||
setcap 'cap_net_bind_service=+ep' /usr/bin/ntfy
|
setcap 'cap_net_bind_service=+ep' /usr/bin/ntfy
|
||||||
msg_ok "Updated $APP LXC"
|
msg_ok "Updated $APP LXC"
|
||||||
|
|
||||||
|
msg_info "Restarting ntfy"
|
||||||
|
rc-service ntfy restart
|
||||||
|
msg_ok "Restarted ntfy"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user