ブラウザを使わずにPOPFileを終了させる

Windows版

POPFile 0.20.x を使用しているなら、スタートメニューにあるショートカット “Shutdown POPFile silently” (スタート → プログラム → POPFile → Shutdown POPFile silently) を使えば ブラウザを起動することなくPOPFile を終了させることができます。このユーティリティは Windows 用のインストーラによって自動的にインストールされ、ほかのソフトはいっさい必要ありません。

このショートカットは POPFileのプログラム フォルダにある 'stop_pf.exe' を利用しています。ですから、このプログラムをバッチファイルから使うとか、単純に stop_pf.exe をダブルクリックして終了させることもできます。

クロスプラットフォーム版

  • コマンドラインに以下のコマンドを入力する(もしくはスクリプトに含める)ことによって POPFile を終了させることができます :
lynx -dump http://127.0.0.1:8080/shutdown &>/dev/null
  • もちろん、 lynx がインストールされている必要があります。また、 POPFile の UI のポートをデフォルトの 8080 以外に設定している場合は、それにあわせてコマンドを修正してください。
  • 代わりに、 wget を使っても同じことができます :
wget -O null http://127.0.0.1:8080/shutdown 
  • 注釈: POPFile の設定にあわせてポートを変更してください。
  • curl を使うこともできます :
curl -s http://127.0.0.1:8080/shutdown >/dev/null
  • これらのコマンドラインによる方法は、ユーザインタフェースパスワード( 'セキュリティ' タブ)が設定されている場合には使用できません。

原文

 
jp/howtos/shutdown.txt · Last modified: 2008/02/08 19:49 by 127.0.0.1

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License