summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-10-21 14:08:32 +0000
committerMax Kalika <max@gentoo.org>2003-10-21 14:08:32 +0000
commit9daca66684b69ab0c635261955afe5e1b9057894 (patch)
tree6b11258a2fc7204c1c9b853d85b2c74fe8e8afde /net-misc
parentupdates. (diff)
downloadhistorical-9daca66684b69ab0c635261955afe5e1b9057894.tar.gz
historical-9daca66684b69ab0c635261955afe5e1b9057894.tar.bz2
historical-9daca66684b69ab0c635261955afe5e1b9057894.zip
Fix pid path.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nut/ChangeLog5
-rw-r--r--net-misc/nut/Manifest4
-rw-r--r--net-misc/nut/files/upsd.rc68
3 files changed, 10 insertions, 7 deletions
diff --git a/net-misc/nut/ChangeLog b/net-misc/nut/ChangeLog
index 621a314701fb..bf86d7962fdc 100644
--- a/net-misc/nut/ChangeLog
+++ b/net-misc/nut/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/nut
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.20 2003/10/20 10:37:12 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.21 2003/10/21 14:08:22 max Exp $
+
+ 21 Oct 2003; Max Kalika <max@gentoo.org> files/upsd.rc6:
+ Fix pid path.
*nut-1.5.6-r1 (20 Oct 2003)
*nut-1.4.0-r2 (20 Oct 2003)
diff --git a/net-misc/nut/Manifest b/net-misc/nut/Manifest
index c46c7d4be77d..5e0310250e0d 100644
--- a/net-misc/nut/Manifest
+++ b/net-misc/nut/Manifest
@@ -8,7 +8,7 @@ MD5 72ac604c561eeb8394cfb20f0877cad7 nut-1.4.0-r1.ebuild 2125
MD5 9f1719e548b416ed9d719b908e1fa520 nut-1.2.2.ebuild 3283
MD5 bb9618c8b03a1237cd7ab2ac7c060cae nut-1.2.1-r1.ebuild 3237
MD5 2128ddfd977ae4ec119b0b4cdbe165d6 nut-1.5.6.ebuild 2127
-MD5 31f4696171a1227d8e5a4d5320b0f030 ChangeLog 3085
+MD5 3dd4e1eb93e411295f0d784019cf77ae ChangeLog 3157
MD5 cf7701e7f443498501140c4a537410bf nut-1.5.1.ebuild 3366
MD5 91a159b983332d5ed0fb985cc1fe1b80 metadata.xml 330
MD5 53b3c22e90b76d9ed4ac9cbbef393c31 files/digest-nut-1.0.0 61
@@ -23,7 +23,7 @@ MD5 4f6c951306e95660e88086bc591f03d0 files/digest-nut-1.2.1-r1 61
MD5 de17bbc812bdd76ec7b807a0deb5e636 files/digest-nut-1.4.0-r1 61
MD5 de17bbc812bdd76ec7b807a0deb5e636 files/digest-nut-1.4.0-r2 61
MD5 7ae6f61ceeee54557c5ad414688b82d0 files/digest-nut-1.5.6-r1 61
-MD5 437b68ccd52a12972f29beaaedccd839 files/upsd.rc6 590
+MD5 09cd2c4a01fbc186346dae4a568a4391 files/upsd.rc6 542
MD5 5b98b3010fedd5ce35a376163b7d1626 files/upsdrv.rc6 507
MD5 424be14e1b0730f51102f9f49a0ac643 files/upsmon.rc6 510
MD5 c5fa9d5b07e3724f41bb5fd83bbcc4c7 files/upsd-init 596
diff --git a/net-misc/nut/files/upsd.rc6 b/net-misc/nut/files/upsd.rc6
index 3eb817d01703..e95570a062d6 100644
--- a/net-misc/nut/files/upsd.rc6
+++ b/net-misc/nut/files/upsd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/files/upsd.rc6,v 1.3 2003/10/21 14:03:57 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/files/upsd.rc6,v 1.4 2003/10/21 14:08:22 max Exp $
depend() {
need net upsdrv
@@ -11,12 +11,12 @@ depend() {
start() {
ebegin "Starting upsd"
start-stop-daemon --start --quiet --startas /usr/sbin/upsd \
- --pidfile=/var/state/nut/upsd.pid
- eend $? "Failed to start UPSD"
+ --pidfile=/var/lib/nut/upsd.pid
+ eend $?
}
stop() {
ebegin "Stopping upsd"
start-stop-daemon --stop --quiet --pidfile=/var/lib/nut/upsd.pid
- eend $? "Failed to stop UPSD!"
+ eend $?
}