add PIDFile directive to systemd service

This commit is contained in:
Tomasz Buchert 2015-10-01 11:09:11 +02:00
parent f7fdb65037
commit 19c095a817
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ After=network.target
[Service]
Type=forking
ExecStart=@bindir@/nghttpx --conf=/etc/nghttpx/nghttpx.conf --pid-file=/run/nghttpx.pid --daemon
PIDFile=/run/nghttpx.pid
[Install]
WantedBy=multi-user.target