[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] multipath: systemd unit file

On 09/01/2011 05:00 AM, Benjamin Marzinski wrote:
Here is a systemd unit file for managing multipathd.

[ .. ]
Index: multipath-tools-110831/multipathd/multipathd.service
--- /dev/null
+++ multipath-tools-110831/multipathd/multipathd.service
@@ -0,0 +1,14 @@
+Description=Device-Mapper Multipath Device Controller
+Before=iscsi.service iscsid.service
+ExecReload=/bin/kill -HUP $MAINPID
+#ExecStop=/path/to/scrip delete-me if not necessary

Hmm. First of all, I'm trying to get rid of the PID file, as with it it's quite hard to start multipathing when /var/run isn't mounted. Plus it's not actually needed; everything can be done via multipathd -k nowadays.

So may I suggest to use
ExecReload=/sbin/multipathd -k'reconfigure'

And do we actually need
for systemd?
If not I'd rather remove that line, too.


Dr. Hannes Reinecke		      zSeries & Storage
hare suse de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]