diff options
Diffstat (limited to 'testing/flowd/flowd.initd')
-rw-r--r-- | testing/flowd/flowd.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/flowd/flowd.initd b/testing/flowd/flowd.initd index fefaff9c2d..df124451e5 100644 --- a/testing/flowd/flowd.initd +++ b/testing/flowd/flowd.initd @@ -1,5 +1,6 @@ #!/sbin/openrc-run +name="Netflow collector" description="NetFlow Сollector" command=/usr/sbin/flowd command_args="-g" @@ -15,13 +16,13 @@ depend() { } reload() { - ebegin "Reloading $RC_SVCNAME" + ebegin "Reloading ${name:-$RC_SVCNAME}" start-stop-daemon --signal HUP --pidfile $pidfile eend $? } reopen() { - ebegin "Reopening $RC_SVCNAME log files" + ebegin "Reopening ${name:-$RC_SVCNAME} log files" start-stop-daemon --signal USR1 --pidfile $pidfile eend $? } |