This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Best way to run SSHD, etc., on Win9x?
- From: Chuck Messenger <chuckm at rochester dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Feb 2002 23:45:07 -0500
- Subject: Best way to run SSHD, etc., on Win9x?
- Reply-to: chuckm at rochester dot rr dot com
I run some Cygwin daemons on Win98 boxes. The way I do it is to put the
following shortcut in the Windows Startup folder:
c:\cygwin\bin\bash.exe --rcfile /usr/local/bin/startup.sh -i
Then in startup.sh, I have:
/usr/sbin/sshd
/usr/bin/rsync --daemon
/usr/sbin/cron
I could be wrong about some of the options/paths. But that's the idea.
Then, whenever Win98 boots, I end up with a minimized DOS shell. I've
found that I need the shell to hang around, or the daemons die off
(hence the --rcfile and -i options to bash).
This works fine, but the problem is that when I shut down the machine, I
have to kill off the DOS shell by hand.
I imagine there must be a better way. Anyone have any suggestions?
- Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/