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 [2022/09/13 14:06] (current) val [Debian/Ubuntu] |
||
---|---|---|---|
Line 22: | Line 22: | ||
#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 | ||
- | </code> | ||
- | ==== FreeBSD ==== | + | #82 stream tcp nowait root /usr/local/sbin/webd webd |
- | <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> | </code> | ||
+ | |||
===== Запуск ==== | ===== Запуск ==== | ||
Line 41: | Line 34: | ||
</code> | </code> | ||
- | ==== FreeBSD ==== | ||
- | <code> | ||
- | # service inetd start | ||
- | </code> | ||