Answer the question
In order to leave comments, you need to log in
How to correctly add the ability to restart the service without additional password entry?
Hello.
HAProxy 1.8 was installed on the server.
Service is created by default
systemctl enable rh-haproxy18-haproxy && systemctl start rh-haproxy18-haproxy && systemctl status rh-haproxy18-haproxy
Cmnd_Alias HAPROXY = /usr/bin/systemctl stop rh-haproxy18-haproxy.service, /usr/bin/systemctl start rh-haproxy18-haproxy.service, /usr/bin/systemctl restart rh-haproxy18-haproxy.service
%haproxy ALL=HAPROXY
sudo systemctl restart rh-haproxy18-haproxy.service && systemctl status rh-haproxy18-haproxy.service
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question