[Home]POPFile/Service

Amatubu_Wiki | POPFile | RecentChanges | Preferences

POPFile のサービス化についてメモ

POPFile のサービス化

POPFile ディレクトリで、
popfile-service -install
でサービスをインストールすることができる。アンインストールは、
popfile-service -remove

サービスアカウントの変更

サービスを実行するアカウントを変更する必要がある。ログイン中のアカウントを設定するのがよいと思われる。

ServiceWatcher の設定ファイルサンプル

[ServiceWatcher] で POPFile サービスを監視するための設定ファイルサンプル。

[Service]
Host=
Name=POPFile
Root=C:\Program Files\POPFile
Notice=0
Log=1
OnStart=
OnStop=net start POPFile

[Icon]
Run=popfile.ico
Stop=shutdown.ico

[Ping]
Port=123
Request=
Timeout=120
Interval=300
OnStop=net stop POPFile;net start POPFile

[Menu]
default=5
1=サービス開始,net start POPFile
2=サービス停止,net stop POPFile
3=---
4=設定,@URI=http://localhost:8080/
5=---
6=応答確認,@PING
7=監視終了,@QUIT

アイコンは……

CVS から入手できる。たとえば以下:

Amatubu_Wiki | POPFile | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited January 5, 2008 0:19 by Amatubu (diff)
Search:

Copyright (c) 1996-2019 naoki iimura e-mail