[supervisord] user = root nodaemon=true [program:mysqld_safe] command = sh -c "/usr/bin/mysqld_safe && kill -s SIGTERM $(cat supervisord.pid)"