
inetd
に記録されたサービスのサービススケジューラです/etc/inetd.conf
。
Lubuntu 18.04では、noは/etc/inetd.conf
何もps -A | grep inetd
返しません。inetd
との代替は何ですか/etc/inetd.conf
?
私はそうではありません/etc/xinetd*
。
ありがとうございます。
答え1
多くのLinuxで使用されるので、xinetd
ファイルは/etc/xinetd.conf
。/etc/xinetd.d
たとえば、ファイルには以下を/etc/xinetd.d/time
含めることができます。
# This is the tcp version.
service time
{
disable = yes
type = INTERNAL
id = time-stream
socket_type = stream
protocol = tcp
user = root
wait = no
}
# This is the udp version.
service time
{
disable = yes
type = INTERNAL
id = time-dgram
socket_type = dgram
protocol = udp
user = root
wait = yes
}
nntp
マイコンピュータには次の項目がありますleafnode
。
% cat /etc/xinetd.d/nntp
service nntp
{
disable = no
socket_type = stream
wait = no
user = news
flags = IPv6
server = /usr/local/leafnode/sbin/leafnode
}
たとえば、インストールされていない場合は、直接xinetd
インストールしてください。sudo apt-get install xinetd