---
name: downtimed
version: 0.5
origin: sysutils/downtimed
comment: System downtime monitoring and reporting tool
arch: freebsd:9:x86:64
www: http://dist.epipe.com/downtimed/
maintainer: snabb@epipe.com
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 32392
desc: "downtimed is a program that monitors operating system downtime, uptime,\nshutdowns
  and crashes and keeps records of those events.\n\ndowntimed(8) is a daemon process
  which is intended to be started\nautomatically from system boot scripts every time
  when the operating\nsystem of a server starts. First the daemon logs its findings
  about the\nprevious downtime to a specified logging destination as well as in a\ndatabase
  file which can be displayed with downtimes(1). After that the\ndaemon just keeps
  waiting in the background and periodically updates\na time stamp file on the disk.\n\ndowntimes(1)
  is a command-line tool which can be used to inspect previous\ndowntime records.\n\nWWW:\thttp://dist.epipe.com/downtimed/\n"
categories: [sysutils]
files:
  /usr/local/bin/downtimes: e27feb882680e35c3b5de41e2dd3e2403979d1b1f51c375b8ea33c17c85a9e57
  /usr/local/etc/rc.d/downtimed: edb645e33e8dc32e08d2925447718fc8786197118302f3904167449714046a6c
  /usr/local/man/man1/downtimes.1.gz: a4e0a8d1da762b0e63e6e0ec9742a15f85962423fbc774943f2b6f4819a5a419
  /usr/local/man/man8/downtimed.8.gz: 2472f9b5869c7cb8d49f14971dd21f7abc3f1f8b3b655bc78e597c2987880fe0
  /usr/local/sbin/downtimed: 64642259d96832b805e2705663cedb0411571d6f5968922e26b7f8f32a934df4
  /usr/local/share/licenses/downtimed-0.5/BSD: 430c691748037bb9a7ddd8f64e78a7bafd79b17f5cec9c8ea7d29768752c8e29
  /usr/local/share/licenses/downtimed-0.5/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/downtimed-0.5/catalog.mk: c0e404d01a93bc05d5542f38891171833232c0d49da9bdd2a392c29d57af9c17
directories:
  /var/db/downtimed/: y
  /usr/local/share/licenses/downtimed-0.5/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    /bin/mkdir -p /var/db/downtimed
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |
  ===> IMPORTANT NOTE:

      To set up downtimed, you need to edit one of the following
      files:
          /etc/rc.conf
          /etc/rc.conf.local
          /etc/rc.conf.d/downtimed

      Add the following line to enable:
          downtimed_enable="YES"

      Add the following line to change the default options, see downtimed(8):
          downtimed_flags="<set as needed>"
