summaryrefslogtreecommitdiff
path: root/main/nginx
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-09-26 17:45:15 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-09-26 17:45:50 +0200
commit1b4e6c6f176d0fe213264a91719096cc1fbb50d7 (patch)
treed105ddf8bd22df8800469e9a69d9468433a9847a /main/nginx
parent0dcb1aec32f8c0bfe43b3a544ed330251e069ae5 (diff)
downloadaports-1b4e6c6f176d0fe213264a91719096cc1fbb50d7.zip
main/nginx: fix $SVCNAME to $RC_SVCNAME in init script
Diffstat (limited to 'main/nginx')
-rw-r--r--main/nginx/APKBUILD2
-rw-r--r--main/nginx/nginx.initd8
2 files changed, 5 insertions, 5 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index e2085540097..a519ca5745b 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -274,7 +274,7 @@ fd8bce0e7d69552267b8e405b07fc9323e25e06cceb8912a2d143952447a4299756e6a9a8a40f4ea
ac7e3153ab698b4cde077f0d5d7ac0a58897927eb36cf3b58cb01268ca0296f1d589c0a5b4f889b96b5b4a57bef05b17c59be59a9d7c4d7a3d3be58f101f7f41 nginx.conf
0907f69dc2d3dc1bad3a04fb6673f741f1a8be964e22b306ef9ae2f8e736e1f5733a8884bfe54f3553fff5132a0e5336716250f54272c3fec2177d6ba16986f3 default.conf
09b110693e3f4377349ccea3c43cb8199c8579ee351eae34283299be99fdf764b0c1bddd552e13e4d671b194501618b29c822e1ad53b34101a73a63954363dbb nginx.logrotate
-45072c8913acfa1c66431662ec32d0d5d5de79acfbbf82b613c48879b2505f336064d234da8a9ff4c7ae526bfb1c205d734df4634fa970217b161887d8f6b83f nginx.initd
+eb183860cd511361346e4079c1fcf470985e1c3b2a034a57f8b2a92ba851fed99256261f9b779770a5f57e3750e9e71bd1550a9d19ad9bf3a4d288864f0374a2 nginx.initd
558764c9be913a4f61d0e277d07bf3c272e1ce086b3fadb85b693a7e92805cd9fca4da7a8d29c96e53fc0d23b331327d3b2561ff61f19d2330e7d5d35ac7d614 ngx_devel_kit-0.3.0.tar.gz
1134d404ec9fd163d410c6ac6d8ec55515586e470aad17f1909e23c4fd35217a39639fa24cdffcf3b32733bb83c5f47508e16fb22f9d2c42e8226bda51b4ae38 ngx_cache_purge-2.4.1.tar.gz
c455bee73cebd0752449472452d15614b9587ddd199263d366484ede890c4d108eacbbeaef31adc9dc7732b56ef2bfc73c0fef3366366db03a8ec3fdc27a985c echo-nginx-module-0.60.tar.gz
diff --git a/main/nginx/nginx.initd b/main/nginx/nginx.initd
index c4e8bf81ac5..603f91e632e 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