Commit 09c93b40 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Improve systemd service units

Discussed with ingvar.
parent 47e82920
......@@ -27,6 +27,7 @@ EnvironmentFile=/etc/varnish/varnish.params
Type=forking
PIDFile=/var/run/varnish.pid
PrivateTmp=true
ExecStartPre=/usr/sbin/varnishd -C -f $VARNISH_VCL_CONF
ExecStart=/usr/sbin/varnishd \
-P /var/run/varnish.pid \
-f $VARNISH_VCL_CONF \
......
[Unit]
Description=Varnish HTTP accelerator logging daemon
After=network.target
After=varnish.service
[Service]
Type=forking
......
[Unit]
Description=Varnish NCSA logging
After=network.target
Description=Varnish HTTP accelerator NCSA daemon
After=varnish.service
[Service]
Type=forking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment