packages: autossh/autossh.spec - start/stop service in %post/%pre scriptlet...
pawelz
pawelz at pld-linux.org
Wed Jun 24 21:05:43 CEST 2009
Author: pawelz Date: Wed Jun 24 19:05:43 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- start/stop service in %post/%pre scriptlets of init subpackage
---- Files affected:
packages/autossh:
autossh.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: packages/autossh/autossh.spec
diff -u packages/autossh/autossh.spec:1.19 packages/autossh/autossh.spec:1.20
--- packages/autossh/autossh.spec:1.19 Tue May 19 12:40:38 2009
+++ packages/autossh/autossh.spec Wed Jun 24 21:05:37 2009
@@ -74,11 +74,11 @@
%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
@@ -102,6 +102,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2009/06/24 19:05:37 pawelz
+- start/stop service in %post/%pre scriptlets of init subpackage
+
Revision 1.19 2009/05/19 10:40:38 pawelz
- R: openssh-clients
- adapterized
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/autossh/autossh.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list