diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-06-29 22:38:41 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-06-29 22:38:41 +0000 |
commit | a7690fcf8869b006b6d999a3f41cdf90a7bfbe60 (patch) | |
tree | 5ad6b9b6fd1de2e6a02f8793c37120b0f112965e /sys-apps/apcupsd/files | |
parent | Added depend into initscript. Closes #20771. (diff) | |
download | historical-a7690fcf8869b006b6d999a3f41cdf90a7bfbe60.tar.gz historical-a7690fcf8869b006b6d999a3f41cdf90a7bfbe60.tar.bz2 historical-a7690fcf8869b006b6d999a3f41cdf90a7bfbe60.zip |
cleanup
Diffstat (limited to 'sys-apps/apcupsd/files')
-rw-r--r-- | sys-apps/apcupsd/files/3.10.5/restart.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys-apps/apcupsd/files/3.10.5/restart.patch b/sys-apps/apcupsd/files/3.10.5/restart.patch deleted file mode 100644 index 3b530e37e0a3..000000000000 --- a/sys-apps/apcupsd/files/3.10.5/restart.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -aur apcupsd-3.10.5-orig/platforms/gentoo/apcupsd.in apcupsd-3.10.5/platforms/gentoo/apcupsd.in ---- apcupsd-3.10.5-orig/platforms/gentoo/apcupsd.in 2003-02-26 14:09:57.000000000 -0800 -+++ apcupsd-3.10.5/platforms/gentoo/apcupsd.in 2003-02-26 14:14:06.000000000 -0800 -@@ -22,3 +22,11 @@ - start-stop-daemon --stop --quiet --pidfile $APCPID - eend $? - } -+ -+restart() { -+ svc_stop -+ # need to sleep or new process may choke grabbing -+ # the dying processes network socket -+ sleep 1 -+ svc_start -+} |