From: prajnoha@sourceware.org <prajnoha@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW_DM scripts/dm_event_systemd_r ...
Date: 28 Jul 2011 12:54:30 -0000 [thread overview]
Message-ID: <20110728125430.11344.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2011-07-28 12:54:29
Modified files:
. : WHATS_NEW_DM
Added files:
scripts : dm_event_systemd_red_hat.service.in
dm_event_systemd_red_hat.socket
lvm2_monitoring_systemd_red_hat.service.in
Log message:
Add systemd unit files for dmeventd.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.482&r2=1.483
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/dm_event_systemd_red_hat.service.in.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/dm_event_systemd_red_hat.socket.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in.diff?cvsroot=lvm2&r1=NONE&r2=1.1
--- LVM2/WHATS_NEW_DM 2011/07/24 23:59:03 1.482
+++ LVM2/WHATS_NEW_DM 2011/07/28 12:54:28 1.483
@@ -1,5 +1,6 @@
Version 1.02.66 -
===============================
+ Add systemd unit files for dmeventd.
Fix read-only identical table reload supression.
Version 1.02.65 - 8th July 2011
/cvs/lvm2/LVM2/scripts/dm_event_systemd_red_hat.service.in,v --> standard output
revision 1.1
--- LVM2/scripts/dm_event_systemd_red_hat.service.in
+++ - 2011-07-28 12:54:29.824812000 +0000
@@ -0,0 +1,14 @@
+[Unit]
+Description=Device-mapper event daemon
+After=fedora-storage-init.service fedora-storage-init-late.service
+Before=local-fs.target
+DefaultDependencies=no
+
+[Service]
+Type=forking
+ExecStart=@sbindir@/dmeventd
+PIDFile=@DMEVENTD_PIDFILE@
+OOMScoreAdjust=-1000
+
+[Install]
+WantedBy=sysinit.target
/cvs/lvm2/LVM2/scripts/dm_event_systemd_red_hat.socket,v --> standard output
revision 1.1
--- LVM2/scripts/dm_event_systemd_red_hat.socket
+++ - 2011-07-28 12:54:30.179738000 +0000
@@ -0,0 +1,11 @@
+[Unit]
+Description=Device-mapper event daemon FIFOs
+DefaultDependencies=no
+
+[Socket]
+ListenFIFO=/var/run/dmeventd-server
+ListenFIFO=/var/run/dmeventd-client
+SocketMode=0600
+
+[Install]
+WantedBy=sockets.target
/cvs/lvm2/LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in,v --> standard output
revision 1.1
--- LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in
+++ - 2011-07-28 12:54:30.524837000 +0000
@@ -0,0 +1,17 @@
+[Unit]
+Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
+Requires=dm-event.socket
+After=fedora-storage-init.service fedora-storage-init-late.service
+Before=local-fs.target
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=@sbindir@/lvm vgchange --monitor y
+ExecStop=@sbindir@/lvm vgchange --monitor n
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
+Also=dm-event.socket
next reply other threads:[~2011-07-28 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 12:54 prajnoha [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-10-31 12:22 LVM2 ./WHATS_NEW_DM scripts/dm_event_systemd_r prajnoha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110728125430.11344.qmail@sourceware.org \
--to=prajnoha@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.