downtimed is a program that monitors operating system downtime, uptime,
shutdowns and crashes and keeps records of those events.
downtimed(8) is a daemon process which is intended to be started
automatically from system boot scripts every time when the operating
system of a server starts. First the daemon logs its findings about the
previous downtime to a specified logging destination as well as in a
database file which can be displayed with downtimes(1). After that the
daemon just keeps waiting in the background and periodically updates
a time stamp file on the disk.
downtimes(1) is a command-line tool which can be used to inspect previous
downtime records.
===> 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>"
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/downtimed: update to 0.6
- Update to 0.6
- Trim Makefile header
- Fix space for WWW in pkg-descr
Changes: http://dist.epipe.com/downtimed/NEWS
PR: ports/180892
Submitted by: Janne Snabb <snabb epipe.com> (maintainer)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Update to 0.4
- Remove setting downtimed_flags by default to empty value in rc.d script
- Create persistant data directory in port/package instead of on first run
PR: ports/153436
Submitted by: Janne Snabb <snabb@epipe.com> (maintainer)
Feature safe: yes
downtimed is a program that monitors operating system downtime, uptime,
shutdowns and crashes and keeps records of those events.
PR: ports/150879
Submitted by: Janne Snabb <snabb@epipe.com>