From f0116ee79ca6bd751f9220503b9c2b9bde7d024b Mon Sep 17 00:00:00 2001 From: Hendrik Brueckner Date: Fri, 3 Nov 2017 07:41:28 +0100 Subject: [PATCH] cpi: add missing Install section to service unit The cpi service unit requires an Install section to tell systemd when to start the cpi service. Add an install section and start cpi for the multi-user target. Reported-by: Michael Holzheu Signed-off-by: Hendrik Brueckner Signed-off-by: Stefan Haberland --- systemd/cpi.service.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd/cpi.service.in b/systemd/cpi.service.in index b6357d68..87fbd3fd 100644 --- 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