summarylogtreecommitdiffstats
path: root/pen-http.service
blob: b54842a9991fed2e6f49ba10101806c31cfcd684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Pen load balancer - Sample HTTP config.
After=network.target

[Service]
ExecStart=/usr/bin/pen -u pen -C /var/run/pen/http.ctl -F /etc/pen/conf/http.conf -p /var/run/pen/http.pid 80
Type=forking
PIDFile=/var/run/pen/http.pid
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target