Changeset 14156 in hybrid for branches/releng-11/nanobsd/files
- Timestamp:
- May 2, 2018, 12:55:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/usr/local/etc/monitrc
r14150 r14156 17 17 ## Start Monit in the background (run as a daemon): 18 18 # 19 set daemon 60 # check services at 30 seconds intervals20 # with start delay 240 # optional: delay the first check by 4-minutes (by19 set daemon 60 # check services at 60 seconds intervals 20 with start delay 120 # optional: delay the first check by 2-minutes (by 21 21 # # default Monit check immediately after Monit start) 22 22 # … … 158 158 allow localhost 159 159 # allow localhost # allow localhost to connect to the server and 160 160 allow guest:guest read-only 161 161 ############################################################################### 162 162 ## Services … … 278 278 start program = "/sbin/mount /var" 279 279 stop program = "/sbin/umount /var" 280 if space usage > 99% then exec /sbin/reboot 280 281 281 282 check filesystem tmp with path /dev/md2
Note:
See TracChangeset
for help on using the changeset viewer.