nginx service was silly

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-03-08 02:43:19 +03:00
parent eea04dff95
commit 43c86f2200
1 changed files with 1 additions and 15 deletions

View File

@ -5,18 +5,4 @@
service_command='/usr/bin/nginx'
service_pidfile='/run/nginx.pid'
nginx.test_config() { "$service_command" -t "$@"; }
conftest() {
nginx.test_config
}
pre_reload() {
nginx.test_config || {
printf 'Config test failed, not reloading.\n'
}
}
upgrade() {
printf 'This script has no zero-downtime upgrade support for nginx.\n'
}
pre_reload() { "$service_command" -t "$@"; }