Author: glen
Date: Thu Dec  7 15:03:30 2006
New Revision: 8074

Modified:
   initng/trunk/daemon/sshd.i
Log:
- use pld initscript for sshd as using initng way do not detach properly from 
terminal

Modified: initng/trunk/daemon/sshd.i
==============================================================================
--- initng/trunk/daemon/sshd.i  (original)
+++ initng/trunk/daemon/sshd.i  Thu Dec  7 15:03:30 2006
@@ -1,7 +1,7 @@
-daemon daemon/sshd {
+service daemon/sshd {
+       stdout = /dev/null;
     need = system/hostname system/rundir daemon/network;
-    exec daemon = /usr/sbin/sshd -D;
-    respawn;
-    daemon_stops_badly;
-    lockfile;
+
+       exec start = /etc/rc.d/init.d/sshd start;
+       exec stop = /etc/rc.d/init.d/sshd stop;
 }
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to