Changeset 14150 in hybrid for branches/releng-11/nanobsd/files


Ignore:
Timestamp:
Apr 29, 2018, 8:43:32 PM (7 years ago)
Author:
huub
Message:

extra checks in monitrc

File:
1 edited

Legend:

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

    r14143 r14150  
    222222#
    223223
     224  check process cron with pidfile /var/run/cron.pid
     225   start program = "/etc/rc.d/cron start"
     226   stop  program = "/etc/rc.d/cron stop"
     227
    224228  check process dhcpd with pidfile /var/run/dhcpd/dhcpd.pid
    225229    start program = "/usr/local/etc/rc.d/isc-dhcpd start" with timeout 60 seconds
     
    239243   stop  program = "/etc/rc.d/ntpd stop"
    240244
     245  check process snmpd with pidfile /var/run/net_snmpd.pid
     246   start program = "/usr/local/etc/rc.d/snmpd start"
     247   stop  program = "/usr/local/etc/rc.d/snmpd stop"
     248
     249  check process sshd with pidfile /var/run/sshd.pid
     250   start program = "/etc/rc.d/sshd start"
     251   stop  program = "/etc/rc.d/sshd stop"
     252
     253  check process syslogd with pidfile /var/run/syslog.pid
     254   start program = "/etc/rc.d/syslogd start"
     255   stop  program = "/etc/rc.d/syslogd stop"
     256
     257  check process tcpserver with pidfile /var/run/tcpserver.pid
     258   start program = "/usr/local/etc/rc.d/http302 start"
     259   stop  program = "/usr/local/etc/rc.d/http302 stop"
     260
     261
    241262  check process unbound with pidfile /etc/local//unbound/unbound.pid
    242263   start program = "/usr/local/etc/rc.d/unbound start"
     
    249270## lost.
    250271#
     272
     273  check filesystem etc with path /dev/md0
     274    start program  = "/sbin/mount /etc"
     275    stop program  = "/sbin/umount /etc"
     276
     277  check filesystem var with path /dev/md1
     278    start program  = "/sbin/mount /var"
     279    stop program  = "/sbin/umount /var"
     280
     281  check filesystem tmp with path /dev/md2
     282    start program  = "/sbin/mount /tmp"
     283    stop program  = "/sbin/umount /tmp"
     284
     285  check filesystem cfg with path /dev/ufs/WLIMGs3
     286  check filesystem rootfs-1a with path /dev/ufs/WLIMGs1a
     287  check filesystem rootfs-1b with path /dev/ufs/WLIMGs1b
     288
    251289#  check filesystem datafs with path /dev/sdb1
    252290#    start program  = "/bin/mount /data"
Note: See TracChangeset for help on using the changeset viewer.