- %post should restart not stop service
authorpawelz <pawelz@pld-linux.org>
Tue, 23 Sep 2008 16:35:50 +0000 (16:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xrdp.spec -> 1.7

xrdp.spec

index aab034639a6154dfcf6b93c34c37fc6caed8daaa..728a35f2aecab8036cbdbeac28d0706066fc8774 100644 (file)
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -92,9 +92,9 @@ install docs/man/sesman.ini.5 $RPM_BUILD_ROOT%{_mandir}/man5/sesman.ini.5
 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
 
This page took 0.036514 seconds and 4 git commands to generate.