❦ 24 mars 2015 07:45 -0400, jeff saremi <jeffsar...@hotmail.com> :
> #!/bin/sh > pidfile=/data/haproxy.pidhaproxy -db \ > -f /haproxy-1.5.8/haproxy.cfg -p $pidfile \ > -sf $(cat $pidfile) The shell does variable substitution first, then execute the line. Hence, $pidfile is expanded to "", not to "/data/haproxy.pid". Put pidfile=... on its own line. -- I'll burn my books. -- Christopher Marlowe