1 2 3 4 5 6 7 8
#!/bin/sh if [ "$ACTION" = add ]; then /etc/init.d/haproxy enabled && \ /etc/init.d/haproxy start fi