forked from pool/s390-tools
28 lines
864 B
Diff
28 lines
864 B
Diff
|
Subject: [PATCH] [BZ 160944] cpi: add missing Install section to service unit
|
||
|
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
|
||
|
|
||
|
Description: cpi: add missing Install section to service unit
|
||
|
Symptom: Enabling the cpi service unit fails because it
|
||
|
does not include information about where to install
|
||
|
it.
|
||
|
Problem: An install section is missing.
|
||
|
Solution: Add an install section.
|
||
|
Reproduction: Issue systemctl enable cpi.
|
||
|
Upstream-ID: -
|
||
|
Problem-ID: 160944
|
||
|
|
||
|
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
|
||
|
---
|
||
|
systemd/cpi.service.in | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
--- a/systemd/cpi.service.in
|
||
|
+++ b/systemd/cpi.service.in
|
||
|
@@ -38,3 +38,6 @@ EnvironmentFile=/etc/sysconfig/cpi
|
||
|
#
|
||
|
# Sending data to the HMC/SE
|
||
|
ExecStart=@toolslib_path@/cpictl -e
|
||
|
+
|
||
|
+[Install]
|
||
|
+WantedBy=multi-user.target
|