This utility shuts POPFile down silently, without opening a browser window.
The “Shutdown POPFile silently” shortcut on the Start Menu uses this utility with the /SHOWERRORS option and the UI port number selected during the installation. The utility can also be used in a batch file.
Usage:
STOP_PF <PORT> STOP_PF <REPORT> <PORT> STOP_PF <PORT> <PASSWORD> STOP_PF <REPORT> <PORT> <PASSWORD>
where <PORT> is the port number used to access the POPFile User Interface (normally 8080).
The optional <REPORT> value can be:
(/SHOWNONE is the default setting used if <REPORT> is not supplied)
The optional <PASSWORD> value is the password (no spaces allowed) for the POPFile User Interface. The “no spaces allowed” restriction is a limitation imposed by the current version of this utility.
Running the utility without any parameters (e.g. by double-clicking the program's icon) will display a help screen.
A success/fail error code is always returned which can be checked in a batch file:
@ECHO OFF START /WAIT STOP_PF /SHOWNONE 8080 IF ERRORLEVEL 1 GOTO FAILED ECHO Shutdown succeeded GOTO DONE *FAILED ECHO **** Shutdown failed **** *DONE
(The /WAIT option ensures that the batch file waits until this utility exits, otherwise the batch file will not test the utility's return code)
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.