Date: Wednesday, October 31, 2012 @ 19:45:20 Author: thomas Revision: 170083
Rename lvm2_monitoring.service to lvm-monitoring.service Added: lvm2/trunk/lvm-monitoring.service (from rev 170082, lvm2/trunk/lvm2_monitoring.service) Modified: lvm2/trunk/PKGBUILD Deleted: lvm2/trunk/lvm2_monitoring.service -------------------------+ PKGBUILD | 4 ++-- lvm-monitoring.service | 18 ++++++++++++++++++ lvm2_monitoring.service | 18 ------------------ 3 files changed, 20 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-10-31 23:42:46 UTC (rev 170082) +++ PKGBUILD 2012-10-31 23:45:20 UTC (rev 170083) @@ -17,7 +17,7 @@ lvm2.conf dmeventd.service dmeventd.socket - lvm2_monitoring.service + lvm-monitoring.service lvmetad.service lvmetad.socket) sha1sums=('077425115b164c335a9930df745943e9ea666a8a' @@ -80,7 +80,7 @@ install -D -m644 "${srcdir}/lvm2_install" "${pkgdir}/usr/lib/initcpio/install/lvm2" # systemd support install -D -m644 "${srcdir}/lvm2.conf" "${pkgdir}/usr/lib/tmpfiles.d/lvm2.conf" - install -D -m644 "${srcdir}/lvm2_monitoring.service" "${pkgdir}/usr/lib/systemd/system/lvm2_monitoring.service" + install -D -m644 "${srcdir}/lvm-monitoring.service" "${pkgdir}/usr/lib/systemd/system/lvm-monitoring.service" install -D -m644 "${srcdir}/lvmetad.service" "${pkgdir}/usr/lib/systemd/system/lvmetad.service" install -D -m644 "${srcdir}/lvmetad.socket" "${pkgdir}/usr/lib/systemd/system/lvmetad.socket" install -d -m755 "${pkgdir}/usr/lib/systemd/system/sockets.target.wants" Copied: lvm2/trunk/lvm-monitoring.service (from rev 170082, lvm2/trunk/lvm2_monitoring.service) =================================================================== --- lvm-monitoring.service (rev 0) +++ lvm-monitoring.service 2012-10-31 23:45:20 UTC (rev 170083) @@ -0,0 +1,18 @@ +[Unit] +Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling +Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) +Requires=dmeventd.socket +After=dmeventd.socket lvmetad.socket lvmetad.service dmeventd.service +Before=local-fs-pre.target +DefaultDependencies=no +Conflicts=shutdown.target + +[Service] +Type=oneshot +Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 +ExecStart=/sbin/lvm vgchange --monitor y +ExecStop=/sbin/lvm vgchange --monitor n +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target \ No newline at end of file Deleted: lvm2_monitoring.service =================================================================== --- lvm2_monitoring.service 2012-10-31 23:42:46 UTC (rev 170082) +++ lvm2_monitoring.service 2012-10-31 23:45:20 UTC (rev 170083) @@ -1,18 +0,0 @@ -[Unit] -Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling -Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) -Requires=dmeventd.socket -After=dmeventd.socket lvmetad.socket lvmetad.service dmeventd.service -Before=local-fs-pre.target -DefaultDependencies=no -Conflicts=shutdown.target - -[Service] -Type=oneshot -Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 -ExecStart=/sbin/lvm vgchange --monitor y -ExecStop=/sbin/lvm vgchange --monitor n -RemainAfterExit=yes - -[Install] -WantedBy=sysinit.target \ No newline at end of file