Skip to content

Commit cf00f1c

Browse files
committed
CP-32433: kick the multipath and usb scanners at start
Signed-off-by: Mark Syms <[email protected]>
1 parent d73a5a6 commit cf00f1c

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

systemd/mpathcount.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ StandardInput=socket
88
StandardOutput=null
99
StandardError=journal
1010
ExecStart=/usr/bin/sh -c '. /etc/xensource-inventory; while dd of=/dev/null bs=4096 count=1 status=none conv=noerror; do /opt/xensource/sm/mpathcount.py; done'
11-
ExecStartPost=/opt/xensource/libexec/kickpipe mpathcount
1211
Restart=always

systemd/mpathcount.socket

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Description=Multipath scanner kick socket
44
[Socket]
55
ListenFIFO=/var/run/mpathcount.sock
66
PipeSize=4096
7+
ExecStartPost=/opt/xensource/libexec/kickpipe mpathcount
78

89
[Install]
910
WantedBy=multi-user.target

systemd/usb-scan.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ StandardInput=socket
88
StandardOutput=null
99
StandardError=journal
1010
ExecStart=/usr/bin/sh -c '. /etc/xensource-inventory; while dd of=/dev/null bs=4096 count=1 status=none conv=noerror; do /opt/xensource/bin/xe pusb-scan host-uuid=$${INSTALLATION_UUID}; done'
11-
ExecStartPost=/opt/xensource/libexec/kickpipe usb-scan
1211
Restart=always

systemd/usb-scan.socket

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Description=USB device scanner kick socket
44
[Socket]
55
ListenFIFO=/var/run/usb-scan.sock
66
PipeSize=4096
7+
ExecStartPost=/opt/xensource/libexec/kickpipe usb-scan
78

89
[Install]
910
WantedBy=multi-user.target

0 commit comments

Comments
 (0)