Stop/Start HAProxy 1.6.12 in RHEL7.2


#1

Hi,
Can you please help for how to stop/start HAProxy as service in RHEL7.2

I am currently using “haproxy -f /etc/haproxy/haproxy.conf” to start, but what is the exact configuration to stop and start the HAProxy as service (ex: sudo service haproxy stop & start).

HAProxy Version is 1.6.12 on Red Hat Linux 7.2

Regards,
Vel


#2

Please read your OS documentation:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html

It should be something like:

sudo systemctl start/stop/restart/reload haproxy


#3

Thanks. I will try this and let you know for any further assistance.