User Tools

Site Tools


сервис_inetd

This is an old revision of the document!


Сервис INETD

Установка

Debian/Ubuntu

# apt install inetutils-inetd

Настройка

Debian/Ubuntu

# cat /etc/inetd.conf
...
www stream tcp nowait root /usr/local/sbin/webd webd
#www stream tcp nowait user1 /usr/local/sbin/webd webd
#www stream tcp nowait root /usr/sbin/chroot chroot /var/www/ /sbin/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
#http stream tcp nowait root /usr/sbin/chroot chroot /var/www/ /sbin/webd

Запуск

Debian/Ubuntu

# service inetutils-inetd restart

FreeBSD

# service inetd start
сервис_inetd.1592218381.txt.gz · Last modified: 2020/06/15 13:53 by val