]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
- restart service on upgrade
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 10 May 2010 12:19:43 +0000 (12:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    syslog-ng.spec -> 1.184

syslog-ng.spec

index 5d09caceb4794fdfa6180e7b4b7ec71dd8a08462..c38dc9c0eda1d052903aa02d300cf6e9063eafd5 100644 (file)
@@ -81,6 +81,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
        if [ -f /var/lock/subsys/"%1" ] ; then \
                /sbin/service --no-upstart "%1" stop \
                /sbin/service "%1" start \
+       else \
+               /sbin/service "%1" try-restart \
        fi
 
 # restart the job after upgrade or migrate to init script on removal
This page took 0.109139 seconds and 4 git commands to generate.