diff options
Diffstat (limited to 'main/nginx/nginx.initd')
-rw-r--r-- | main/nginx/nginx.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/nginx/nginx.initd b/main/nginx/nginx.initd index c4e8bf81ac..603f91e632 100644 --- a/main/nginx/nginx.initd +++ b/main/nginx/nginx.initd @@ -21,19 +21,19 @@ start_pre() { } checkconfig() { - ebegin "Checking ${SVCNAME} configuration" + ebegin "Checking $RC_SVCNAME configuration" start_pre eend $? } reload() { - ebegin "Reloading ${SVCNAME} configuration" + ebegin "Reloading $RC_SVCNAME configuration" start_pre && start-stop-daemon --signal HUP --pidfile $pidfile eend $? } reopen() { - ebegin "Reopening ${SVCNAME} log files" + ebegin "Reopening $RC_SVCNAME log files" start-stop-daemon --signal USR1 --pidfile $pidfile eend $? } @@ -41,7 +41,7 @@ reopen() { upgrade() { start_pre || return 1 - ebegin "Upgrading ${SVCNAME} binary" + ebegin "Upgrading $RC_SVCNAME binary" einfo "Sending USR2 to old binary" start-stop-daemon --signal USR2 --pidfile $pidfile |