Created
January 21, 2019 02:56
-
-
Save gitsrc/4aa9031967440689942954abf56591d9 to your computer and use it in GitHub Desktop.
haproxy.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=tunlink | |
Documentation=tunlink | |
After=network.target | |
[Service] | |
Type=simple | |
StandardError=journal | |
ExecStart=/usr/local/sbin/haproxy -f /etc/haproxy/haproxy.cfg | |
ExecReload=/bin/kill -HUP $MAINPID | |
ExecStop=/bin/kill -TERM $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
存储位置: /usr/lib/systemd/system/haproxy.service