@ -26,15 +26,14 @@ start_service() {
FLASK_APP=asu $PROG loaddb
FLASK_APP=asu $PROG loaddb
procd_open_instance asu_main
procd_open_instance asu_main
# procd_set_param user asu
# procd_set_param group asu
procd_set_param env FLASK_APP=asu
procd_set_param command $PROG run
procd_set_param user asu
procd_set_param group asu
procd_set_param command gunicorn asu:app
procd_close_instance
procd_close_instance
procd_open_instance main_worker
procd_open_instance main_worker
# procd_set_param user asu
# procd_set_param group asu
procd_set_param user asu
procd_set_param group asu
procd_set_param env FLASK_APP=asu
procd_set_param env FLASK_APP=asu
procd_set_param command $PROG run_worker
procd_set_param command $PROG run_worker
procd_close_instance
procd_close_instance