projects/aports·blob master · refs

15 lines · 331 B

1#!/sbin/openrc-run
2supervisor=supervise-daemon
3name=$RC_SVCNAME
4description="Gromox timer service"
5description_reload="Reload configuration without exiting"
6
7command="/usr/libexec/gromox/timer"
8
9extra_started_commands="reload"
10
11reload() {
12 ebegin "Reloading configuration"
13 $supervisor $RC_SVCNAME --signal HUP
14 eend $?
15}