Home : Fix new BASH_PATH for services.
This commit is contained in:
parent
1eea96f31b
commit
72808c6ab7
|
@ -14,6 +14,9 @@
|
|||
gawk
|
||||
pv
|
||||
];
|
||||
environment = {
|
||||
BASH_PATH = ../../module/common/bash;
|
||||
};
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
bashInteractive
|
||||
docker
|
||||
];
|
||||
environment = {
|
||||
BASH_PATH = ../../module/common/bash;
|
||||
};
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Source modules.
|
||||
for file in /etc/bash/module/*.sh; do
|
||||
for file in ${BASH_PATH}/module/*.sh; do
|
||||
source "${file}"
|
||||
done
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Source modules.
|
||||
for file in /etc/bash/module/*.sh; do
|
||||
for file in ${BASH_PATH}/module/*.sh; do
|
||||
source "${file}"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue