From ee514e2da38c10c88e1e2776f21b06c08b252fa4 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 25 Dec 2021 22:00:22 +0000 Subject: [PATCH] helper: remove unneeded sudo --- morss-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss-helper b/morss-helper index ea2e349..86f834a 100755 --- a/morss-helper +++ b/morss-helper @@ -7,7 +7,7 @@ elif [ -z "$1" ] || [ "$@" = "run" ]; then gunicorn --bind 0.0.0.0:${PORT:-8000} --preload --access-logfile - morss elif [ "$@" = "reload" ]; then - pid=$(sudo pidof 'gunicorn: master [morss]') + pid=$(pidof 'gunicorn: master [morss]') kill -s USR2 $pid kill -s WINCH $pid kill -s TERM $pid