]> git.pld-linux.org Git - packages/autossh.git/commitdiff
- start/stop service in %post/%pre scriptlets of init subpackage
authorpawelz <pawelz@pld-linux.org>
Wed, 24 Jun 2009 19:05:37 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autossh.spec -> 1.20

autossh.spec

index 9c3d82e54cde8230b81977410f769a91d95fe7ff..0e147ac832da4920c7c1362117b437d71b86065e 100644 (file)
@@ -73,11 +73,11 @@ install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post init
 /sbin/chkconfig --add autossh
 %service autossh restart "autossh"
 
-%preun
+%preun init
 if [ "$1" = "0" ]; then
        %service autossh stop
        /sbin/chkconfig --del autossh
This page took 0.168228 seconds and 4 git commands to generate.