一个命令可以等到另一个命令退出吗?
[program:letsencrypt-start]
command=/srv/letsencrypt.sh
priority=1
autostart=true
autorestart=false
stderr_logfile=/var/log/letsencrypt-start.err.log
stdout_logfile=/var/log/letsencrypt-start.out.log
[program:haproxy]
command=haproxy -f /etc/haproxy/haproxy.cfg
priority=2
autostart=true
autorestart=true
stderr_logfile=/var/log/haproxy.err.log
stdout_logfile=/var/log/haproxy.out.log
stdout_logfile_maxbytes=1GB
redirect_stderr=true
我想在获得状态haproxy
后开始。letsencrypt-start
EXITED