haproxy-wi/haproxy-wi.service

16 lines
280 B
INI
Raw Normal View History

[Unit]
Description=Haproxy web interface
After=syslog.target network.target
[Service]
Type=simple
User=haproxy-wi
ExecStart=/opt/haproxy/server.py >> /opt/haproxy/log/haproxy-webface.log
RestartSec=2s
Restart=on-failure
TimeoutStopSec=1s
[Install]
WantedBy=multi-user.target