This shows you the differences between two versions of the page.
— | howtos:silentshutdown [2008/02/08 19:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== POPFile Silent Shutdown Utility ====== | ||
+ | ==== (stop_pf.exe) ==== | ||
+ | |||
+ | This utility shuts POPFile down silently, without opening a browser window. | ||
+ | |||
+ | The " | ||
+ | |||
+ | Usage: | ||
+ | < | ||
+ | STOP_PF | ||
+ | STOP_PF | ||
+ | STOP_PF | ||
+ | STOP_PF | ||
+ | </ | ||
+ | |||
+ | where < | ||
+ | |||
+ | The optional < | ||
+ | * /SHOWNONE (no messages shown) | ||
+ | * /SHOWERRORS (only error messages shown) | ||
+ | * /SHOWALL (success or error messages always shown) | ||
+ | |||
+ | (/SHOWNONE is the default setting used if < | ||
+ | |||
+ | The optional < | ||
+ | |||
+ | Running the utility without any parameters (e.g. by double-clicking the program' | ||
+ | |||
+ | A success/ | ||
+ | |||
+ | < | ||
+ | @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' | ||
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.