Ignore:
Timestamp:
May 2, 2018, 12:55:24 PM (7 years ago)
Author:
huub
Message:

monit read-only achter guest:guest en reboot bij volle var

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/usr/local/etc/monitrc

    r14150 r14156  
    1717## Start Monit in the background (run as a daemon):
    1818#
    19 set daemon  60              # check services at 30 seconds intervals
    20 #   with start delay 240    # optional: delay the first check by 4-minutes (by
     19set daemon  60              # check services at 60 seconds intervals
     20   with start delay 120     # optional: delay the first check by 2-minutes (by
    2121#                           # default Monit check immediately after Monit start)
    2222#
     
    158158    allow localhost
    159159#    allow localhost        # allow localhost to connect to the server and
    160 
     160     allow guest:guest read-only
    161161###############################################################################
    162162## Services
     
    278278    start program  = "/sbin/mount /var"
    279279    stop program  = "/sbin/umount /var"
     280    if space usage > 99% then exec /sbin/reboot
    280281
    281282  check filesystem tmp with path /dev/md2
Note: See TracChangeset for help on using the changeset viewer.