summaryrefslogtreecommitdiff
path: root/downtimed.8
diff options
context:
space:
mode:
Diffstat (limited to 'downtimed.8')
-rw-r--r--downtimed.837
1 files changed, 22 insertions, 15 deletions
diff --git a/downtimed.8 b/downtimed.8
index 032acda..5c9d4a5 100644
--- a/downtimed.8
+++ b/downtimed.8
@@ -1,11 +1,11 @@
.\"-
-.\" Copyright (c) 2009-2013 EPIPE Communications. All rights reserved.
+.\" Copyright (c) 2009-2016 Janne Snabb. All rights reserved.
.\"
-.\" This software is licensed under the terms and conditions of the FreeBSD
-.\" License which is also known as the Simplified BSD License. You should have
-.\" received a copy of that license along with this software.
+.\" This software is licensed under the terms and conditions of the
+.\" Simplified BSD License. You should have received a copy of that
+.\" license along with this software.
.\"
-.TH DOWNTIMED 8 "2013-07-27" "version 0.6"
+.TH DOWNTIMED 8 "2016-05-24" "version 1.0"
.SH NAME
downtimed \- system downtime monitoring and reporting daemon
.SH SYNOPSIS
@@ -13,6 +13,7 @@ downtimed \- system downtime monitoring and reporting daemon
.RB [\| \-D \|]
.RB [\| \-d
.IR datadir \|]
+.RB [\| \-F \|]
.RB [\| \-f
.IR timefmt \|]
.RB [\| \-l
@@ -30,11 +31,11 @@ The
.B downtimed
daemon waits in the background, frequently updating a time stamp file
on the disk. If the daemon is killed with a signal associated with a
-normal system shutdown procedure, it will record the shutdown time on
+normal system shutdown procedure, it records the shutdown time on
the disk.
.PP
When the daemon is restarted during the next boot process,
-it will report how long the system was down and whether it was properly
+it reports how long the system was down and whether it was properly
shut down or crashed. The downtime report is output to the system log
or to a specified log file. Also a record is appended to the downtime
database.
@@ -47,6 +48,16 @@ Do not create nor update the downtime database.
The directory where the time stamp files as well as the downtime database
are located. The default directory is determined at compile time.
.TP
+.B \-F
+Do not call
+.BR daemon (3)
+to
+.BR fork (2)
+to background. Useful with modern system service managers such as
+.BR systemd (8) ,
+.BR launchd (8)
+and others.
+.TP
.B \-f \fItimefmt\fR
Specify the time and date format to use when reporting using
.BR strftime (3)
@@ -62,7 +73,7 @@ are written to syslog with the daemon facility code.
.B \-p \fIpidfile\fR
The location of the file which keeps track of the process ID of the
running daemon process. The system default location is determined at
-compile time.
+compile time. May be disabled by specifying "none".
.TP
.B \-S
Normally
@@ -101,9 +112,9 @@ The daemon exits 0 on success, and >0 if an error occurs.
.BR downtimes (1),
.BR syslog.conf (5),
.ie !d pdfhref \
-http://dist.epipe.com/downtimed/
+https://dist.epipe.com/downtimed/
.el \
-.pdfhref W http://dist.epipe.com/downtimed/
+.pdfhref W https://dist.epipe.com/downtimed/
.SH BUGS
The reporting accuracy in case of a system crash depends on how often the
time stamp is updated.
@@ -116,7 +127,7 @@ Reporting is inaccurate if the system clock changes during system
downtime or startup process. Daylight saving time changes have no
effect as all calculations are done using UTC.
.SH COPYRIGHT
-Copyright \(co 2009\-2013 EPIPE Communications. All rights reserved.
+Copyright \(co 2009\-2016 Janne Snabb. All rights reserved.
.PP
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -140,8 +151,4 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-.PP
-The views and conclusions contained in the software and documentation are
-those of the authors and should not be interpreted as representing official
-policies, either expressed or implied, of EPIPE Communications.
.\" eof