aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-02-08 15:33:52 +0800
committerdougb <dougb@FreeBSD.org>2004-02-08 15:33:52 +0800
commitfca6a6644e847087380c1b28bb49a040f1d25cb2 (patch)
treee8bf6d9034568ffd30f18f4876ac89b29b492505
parent68d27ced742b7a38b4a25821b7b1ee30b034823c (diff)
downloadfreebsd-ports-gnome-fca6a6644e847087380c1b28bb49a040f1d25cb2.tar.gz
freebsd-ports-gnome-fca6a6644e847087380c1b28bb49a040f1d25cb2.tar.zst
freebsd-ports-gnome-fca6a6644e847087380c1b28bb49a040f1d25cb2.zip
Improve the command line arguments for upslog.
PR: ports/57031 Submitted by: truckman
-rw-r--r--sysutils/nut/files/nut.sh.sample2
-rw-r--r--sysutils/nut22/files/nut.sh.sample2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/nut/files/nut.sh.sample b/sysutils/nut/files/nut.sh.sample
index a92988333127..79537db58840 100644
--- a/sysutils/nut/files/nut.sh.sample
+++ b/sysutils/nut/files/nut.sh.sample
@@ -30,7 +30,7 @@ start)
${MODELS}/${UPSTYPE} ${UPSFLAGS}
${SBIN}/upsd
${SBIN}/upsmon localhost
- ${BIN}/upslog localhost ${UPSLOG} ${UPSLOGINTERVAL}
+ ${BIN}/upslog -s backups@localhost -l ${UPSLOG} -i ${UPSLOGINTERVAL}
;;
stop)
/usr/bin/killall upslog upsmon upsd ${UPSTYPE}
diff --git a/sysutils/nut22/files/nut.sh.sample b/sysutils/nut22/files/nut.sh.sample
index a92988333127..79537db58840 100644
--- a/sysutils/nut22/files/nut.sh.sample
+++ b/sysutils/nut22/files/nut.sh.sample
@@ -30,7 +30,7 @@ start)
${MODELS}/${UPSTYPE} ${UPSFLAGS}
${SBIN}/upsd
${SBIN}/upsmon localhost
- ${BIN}/upslog localhost ${UPSLOG} ${UPSLOGINTERVAL}
+ ${BIN}/upslog -s backups@localhost -l ${UPSLOG} -i ${UPSLOGINTERVAL}
;;
stop)
/usr/bin/killall upslog upsmon upsd ${UPSTYPE}