[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:10233] Re: inetdデーモンの起動について



樋口です。

From: "Juro Naomi Jikuhara" <naomijj@hi-ho.ne.jp>
> Plamoでinetdの起動はどうなっているのでしょうか?
> Redhat系では
> $ inetd start
> $ inetd stop
> で出来た様な気がします。

/etc/rc.d/rc.inet2 には、下記のように書かれています。

# Start the INET SuperServer
if [ -f ${NET}/inetd ]; then
  echo -n " inetd"
  ${NET}/inetd
else
  echo "no INETD found.  INET cancelled!"
  exit 1
fi

ちなみに再起動は、

# kill -HUP `pidof inetd`

かな。man inetd の最後のほうにこう書かれています。

     Inetd rereads its configuration file when it receives a hangup signal,
     SIGHUP. Services may be added, deleted or modified when the configuration
     file is reread.  Inetd creates a file /etc/inetd.pid that contains its
     process identifier.

このあたりは /etc/rc.d/init/inetd というスクリプトの中身をお読み
いただいても分ると思います。

Follow-Ups
[plamo:10235] Re: inetdデーモンの起動について, HIGUCHI Chihiro
[plamo:10237] Re: inetd デーモンの起動について, Juro Naomi Jikuhara
References
[plamo:10230] inetd デーモンの起動について, Juro Naomi Jikuhara

[検索ページ] [メール一覧]
Plamo ML 公開システム