mirror of https://github.com/Aidaho12/haproxy-wi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
355 B
20 lines
355 B
[Unit]
|
|
Description=Keep Alive Haproxy
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/var/www/haproxy-wi/app/
|
|
ExecStart=/var/www/haproxy-wi/app/tools/keep_alive.py
|
|
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=keep_alive
|
|
|
|
RestartSec=2s
|
|
Restart=on-failure
|
|
TimeoutStopSec=1s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|