* Best way to run SSHD, etc., on Win9x?
@ 2002-02-12 20:38 Chuck Messenger
0 siblings, 0 replies; only message in thread
From: Chuck Messenger @ 2002-02-12 20:38 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-13 4:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12 20:38 Best way to run SSHD, etc., on Win9x? Chuck Messenger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).