Add reload function to OpenRC init script

This commit is contained in:
2026-01-24 04:03:51 +01:00
parent e365fa7d77
commit 89e63858a0

View File

@@ -20,3 +20,9 @@ depend() {
start_pre() {
checkpath --directory --owner ${USER}:${GROUP} --mode 0750 /var/lib/ddns-service
}
reload() {
ebegin "Reloading ${RC_SVCNAME}"
start-stop-daemon --signal HUP --pidfile "${pidfile}"
eend $?
}