helper: remove unneeded sudo
continuous-integration/drone/push Build is passing Details

master
pictuga 1 year ago
parent e7578e859a
commit ee514e2da3

@ -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

Loading…
Cancel
Save