]> git.pld-linux.org Git - packages/autolog.git/commitdiff
- replace "crond stop; crond start" by "crond restart". autolog-0_34-3
authorkloczek <kloczek@pld-linux.org>
Tue, 27 Jul 1999 13:00:56 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autolog.spec -> 1.10

autolog.spec

index f40cefb94e7cda0ee0b60539c3f6647c93370cee..2012279f7d00a4b1cfcc6b59e90a9f785bd5e5fa 100644 (file)
@@ -43,16 +43,14 @@ gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README
 
 %post
 if test -r /var/run/crond.pid; then
-       /etc/rc.d/init.d/crond stop >&2
-       /etc/rc.d/init.d/crond start >&2
+       /etc/rc.d/init.d/crond restart >&2
 else
        echo "Run \"/etc/rc.d/init.d/crond start\" to activate autolog."
 fi
 
 %postun
 if test -r /var/run/crond.pid; then
-       /etc/rc.d/init.d/crond stop >&2
-       /etc/rc.d/init.d/crond start >&2
+       /etc/rc.d/init.d/crond restart >&2
 fi
 
 %clean
This page took 0.042302 seconds and 4 git commands to generate.