X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=b05fd784da3052ac532c1fbab978cc4671eef2ea;hb=97d5ee74502bad595227da76c8d230ec54f2cbb3;hp=3769d4cdd55eb816192975a42c3ac676e92d5bd9;hpb=143238dfe314c16bc90a6807ab0f00220efd34a2;p=nssm.git diff --git a/README.txt b/README.txt index 3769d4c..b05fd78 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 @@ -504,6 +514,8 @@ NSSM offers rudimentary service control features. nssm start + nssm restart + nssm stop nssm status