helper: remove unneeded sudo
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user