SVN: initng/trunk/daemon/sshd.i
glen
glen at pld-linux.org
Thu Dec 7 15:03:31 CET 2006
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;
}
More information about the pld-cvs-commit
mailing list