1
I want to get inetd daemon working on a machine running Cygwin. I know how to do this on Centos 4, but on Cygwin it does not seem to work.
Commands I tried are:
cygrunsrv -I xinetd -d "Cygwin Xinetd" -p /usr/sbin/xinetd -e CYGWIN=ntsec
cygrunsrv -S xinetd
/etc/rc.d/init.d/xinetd start
On Linux, I would just do:
/sbin/service xinetd restart
After editing my configuration file:
/etc/xinetd.d/<myAppHere>
I've created this file on Cygwin, but can't seem to figure out how to start the service.
[si-xp-pro-sp3 ~] /etc/rc.d/init.d/xinetd start
/etc/rc.d/init.d/xinetd: line 22: /etc/init.d/functions: No such file or directory
Starting xinetd: /etc/rc.d/init.d/xinetd: line 59: daemon: command not found
[si-xp-pro-sp3 ~] /usr/sbin/xinetd start
Usage: xinetd [-d] [-f config_file] [-filelog filename] [-syslog facility] [-reuse]
[-limit proc_limit] [-pidfile filename] [-logprocs limit] [-shutdownprocs limit]
[-cc interval]
I am here trying to install cygwin+proftpd+xinetd. I was having some troubles, and the above answer worked for me after I did a clean install of cygwin. – user2426679 – 2016-01-05T22:49:08.607