X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=0affeb3001044825c1ad6787e37ac2db88aee0cd;hb=2cd1c7c29ef4d2d3df3c5afd3ca6c788aede2bef;hp=3769d4cdd55eb816192975a42c3ac676e92d5bd9;hpb=d69db812fe68fb913f65e6aa8ac8584ee079c0c6;p=nssm.git diff --git a/README.txt b/README.txt index 3769d4c..0affeb3 100644 --- a/README.txt +++ b/README.txt @@ -315,7 +315,17 @@ They will be rotated regardless of whether NSSM would otherwise have appended or replaced them. NSSM can also rotate files which hit the configured size threshold while the -service is running. To enable this feature, set AppRotateOnline to a non-zero +service is running. Additionally, you can trigger an on-demand rotation by +running the command + + nssm rotate + +On-demand rotations will happen after the next line of data is read from +the managed application, regardless of the value of AppRotateBytes. Be aware +that if the application is not particularly verbose the rotation may not +happen for some time. + +To enable online and on-demand rotation, set AppRotateOnline to a non-zero value. Note that online rotation requires NSSM to intercept the application's I/O