diff options
Diffstat (limited to 'initscript_openrc')
-rw-r--r-- | initscript_openrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/initscript_openrc b/initscript_openrc index b40d3ffb67e6..c6b2bf215c1a 100644 --- a/initscript_openrc +++ b/initscript_openrc @@ -8,6 +8,8 @@ _DAEMON_ARGS=( ${WWWOFFLE_ARGS} ) +extra_started_commands="reload" + depend() { use logger dns } @@ -27,3 +29,10 @@ stop() { eend "$?" } + +reload() { + ebegin "Re-reading configuration file for $(basename "${_DAEMON}")" + wwwoffle "${_DAEMON_ARGS[@]}" -config + eend "$?" +} + |