mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-14 16:51:30 +00:00
Add directory /etc/systemd/system/ to the systemd service search path
This commit is contained in:
@ -317,7 +317,7 @@ function servicemap {
|
||||
#all the service unit files are placed under /lib/systemd/system/ on ubuntu
|
||||
#all the service unit files are placed under /usr/lib/systemd/system/ on redhat and sles
|
||||
#path should be delimited with space
|
||||
path="/usr/lib/systemd/system/ /lib/systemd/system/"
|
||||
path="/usr/lib/systemd/system/ /lib/systemd/system/ /etc/systemd/system/"
|
||||
postfix=".service"
|
||||
svcmgrcmd="systemctl"
|
||||
elif [ "$svcmgrtype" = "2" ];then
|
||||
|
Reference in New Issue
Block a user