From 43c86f220076af11b01b756bab126fc0270862d0 Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 8 Mar 2018 02:43:19 +0300 Subject: [PATCH] nginx service was silly Signed-off-by: fbt --- services/nginx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/services/nginx b/services/nginx index 0830510..fb731af 100755 --- a/services/nginx +++ b/services/nginx @@ -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 "$@"; }