This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_inetd [2020/06/15 13:53] val [FreeBSD] |
сервис_inetd [2024/05/05 18:35] (current) val [Debian/Ubuntu] |
||
---|---|---|---|
Line 4: | Line 4: | ||
==== Debian/Ubuntu ==== | ==== Debian/Ubuntu ==== | ||
+ | |||
+ | * [[https://serverfault.com/questions/389645/ftp-tcp-server-failing-looping|ftp/tcp server failing (looping)]] | ||
+ | |||
<code> | <code> | ||
# apt install inetutils-inetd | # apt install inetutils-inetd | ||
Line 22: | Line 25: | ||
#www stream tcp nowait user1 /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 | #www stream tcp nowait root /usr/sbin/chroot chroot /var/www/ /sbin/webd | ||
+ | |||
+ | #82 stream tcp nowait root /usr/local/sbin/webd webd | ||
</code> | </code> | ||
- | ==== FreeBSD ==== | ||
- | <code> | ||
- | # cat /etc/inetd.conf | ||
- | </code><code> | ||
- | ... | ||
- | 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 | ||
- | </code> | ||
===== Запуск ==== | ===== Запуск ==== | ||
Line 41: | Line 37: | ||
</code> | </code> | ||
- | ==== FreeBSD ==== | ||
- | <code> | ||
- | # service inetd start | ||
- | </code> | ||