mirror of https://github.com/Aidaho12/haproxy-wi
15 lines
323 B
Django/Jinja
15 lines
323 B
Django/Jinja
[Unit]
|
|
Description=HAProxy WAF
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
ExecStart={{HAPROXY_PATH}}/waf/bin/modsecurity -n 4 -f {{HAPROXY_PATH}}/waf/modsecurity.conf
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
KillMode=mixed
|
|
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=waf
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |