]> git.pld-linux.org Git - packages/lvm2.git/blame - pldize_lvm2_monitor.patch
- 2.02.95
[packages/lvm2.git] / pldize_lvm2_monitor.patch
CommitLineData
b08139b7
SS
1--- LVM2.2.02.85/scripts/lvm2_monitoring_init_red_hat.in.orig 2011-10-05 21:33:09.165296447 +0200
2+++ LVM2.2.02.85/scripts/lvm2_monitoring_init_red_hat.in 2011-10-05 21:36:47.152774996 +0200
3@@ -1,3 +1,3 @@
4-#!/bin/bash
5+#!/bin/sh
6 #
7 # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
8@@ -50,7 +50,8 @@ start()
50f199e7 9 VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
b08139b7
SS
10 for vg in $VGSLIST
11 do
50f199e7
JR
12- action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
13+ msg_starting "Starting monitoring for VG $vg:" \
14+ daemon $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || return $?
b08139b7
SS
15 done
16
17 return $ret
18@@ -68,7 +71,8 @@ stop()
50f199e7 19 VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
b08139b7
SS
20 for vg in $VGSLIST
21 do
50f199e7
JR
22- action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
23+ msg_stopping "Stopping monitoring for VG $vg:" \
24+ $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || return $?
b08139b7
SS
25 done
26 return $ret
27 }
ed05b207
ER
28--- LVM2.2.02.94/scripts/lvm2_monitoring_systemd_red_hat.service.in~ 2012-02-01 15:08:39.000000000 +0200
29+++ LVM2.2.02.94/scripts/lvm2_monitoring_systemd_red_hat.service.in 2012-03-29 00:12:31.886921407 +0300
30@@ -1,7 +1,7 @@
31 [Unit]
32 Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
33 Requires=dm-event.socket
34-After=dm-event.socket fedora-storage-init.service fedora-storage-init-late.service
35+After=dm-event.socket pld-storage-init.service pld-storage-init-late.service
36 Before=local-fs.target
37 DefaultDependencies=no
38 Conflicts=shutdown.target
This page took 0.109799 seconds and 4 git commands to generate.