systemd unit files

OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=53
This commit is contained in:
Jan Engelhardt 2012-02-18 01:12:57 +00:00 committed by Git OBS Bridge
parent 5fe83bda9c
commit cdbd881dad

View File

@ -1,10 +1,12 @@
[Unit]
Description=Varnish log generator
Requires=varnish.service
#After= is not required
[Service]
EnvironmentFile=/etc/sysconfig/varnish
PIDFile=/var/run/varnishlog.pid
ExecStart=/usr/sbin/varnishncsa $VARNISHLOG_PARAMS -P /var/run/varnishlog.pid -F
ExecStart=/usr/sbin/varnishncsa $VARNISHLOG_PARAMS -P /var/run/varnishlog.pid
[Install]
WantedBy=multi-user.target