Whamcloud - gitweb
EX-5468 lipe: use absolute path in lpcc.service
authorLei Feng <flei@whamcloud.com>
Thu, 30 Jun 2022 03:15:37 +0000 (11:15 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 1 Jul 2022 04:09:04 +0000 (04:09 +0000)
Some platform needs absolute path for command in service script.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Change-Id: I11ff46ceaffa839540736e46d84fb22b7343ff80
Reviewed-on: https://review.whamcloud.com/47840
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
lipe/systemd/lpcc.service

index f791d45..c9b79ca 100644 (file)
@@ -9,7 +9,7 @@ ConditionPathExists=/etc/lpcc.conf
 [Service]
 Type=simple
 ExecStart=/usr/bin/lpcc monitor
-ExecStop=kill $MAINPID
+ExecStop=/bin/kill $MAINPID
 
 [Install]
 WantedBy=multi-user.target