Commit 7ecfc0b1 authored by Federico G. Schwindt's avatar Federico G. Schwindt Committed by Lasse Karstensen

Improve systemd service units

Discussed with ingvar.
parent 7665b411
......@@ -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