User Tools

Site Tools


сервис_inetd

This is an old revision of the document!


Сервис INETD

Установка

Ubuntu

apt-get install openbsd-inetd

FreeBSD

# cat /etc/rc.conf
...
inetd_enable=yes

Настройка

Ubuntu

# cat /etc/inetd.conf
...
www stream tcp nowait root /usr/local/sbin/webd webd
#www stream tcp nowait nobody /usr/local/sbin/webd webd

FreeBSD

# cat /etc/inetd.conf
...
http stream tcp nowait root /usr/local/sbin/webd webd
#http stream tcp nowait user1 /usr/local/sbin/webd webd

Запуск

Ubuntu

# /etc/init.d/openbsd-inetd restart

FreeBSD

# /etc/rc.d/inetd start
сервис_inetd.1385445841.txt.gz · Last modified: 2013/11/26 10:04 by val