SPECS: xrdp.spec - %post should restart not stop service

pawelz pawelz at pld-linux.org
Tue Sep 23 18:35:55 CEST 2008


Author: pawelz                       Date: Tue Sep 23 16:35:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %post should restart not stop service

---- Files affected:
SPECS:
   xrdp.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/xrdp.spec
diff -u SPECS/xrdp.spec:1.6 SPECS/xrdp.spec:1.7
--- SPECS/xrdp.spec:1.6	Sun Sep 14 14:33:16 2008
+++ SPECS/xrdp.spec	Tue Sep 23 18:35:50 2008
@@ -93,9 +93,9 @@
 install docs/man/xrdp.ini.5 $RPM_BUILD_ROOT%{_mandir}/man5/xrdp.ini.5
 
 %post
-	/sbin/ldconfig
-	%service xrdp stop
-	/sbin/chkconfig --add xrdp
+/sbin/ldconfig
+/sbin/chkconfig --add xrdp
+%service xrdp restart "xrdp server"
 
 %postun -p /sbin/ldconfig
 
@@ -137,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/09/23 16:35:50  pawelz
+- %post should restart not stop service
+
 Revision 1.6  2008/09/14 12:33:16  charles
 - BR: openssl-devel
 - pass CC; rm LDFLAGS set (not needed)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xrdp.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list