From cdbd881dad2c05f43818b4f98f0fd6f6ff4306d55f8b9ad8debad97294603cb3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 18 Feb 2012 01:12:57 +0000 Subject: [PATCH] systemd unit files OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=53 --- varnishlog.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/varnishlog.service b/varnishlog.service index 4e5dd4f..6eb94f7 100644 --- a/varnishlog.service +++ b/varnishlog.service @@ -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