forked from tastytea/overlay
net-im/mjolnir: fix init script
I'm sure the check worked before, but now it fails? 😕
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
800f3a4981
commit
9673462aa3
|
@ -17,10 +17,11 @@ depend() {
|
|||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
local cfg=/opt/mjolnir/config/production.yaml
|
||||
if [[ -f ${cfg} ]]; then
|
||||
echo "${cfg} does not exist or is not a regular file" >&2
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
# doesn't work all of a sudden for some reason
|
||||
# start_pre() {
|
||||
# local cfg=/opt/mjolnir/config/production.yaml
|
||||
# if [[ -f ${cfg} ]]; then
|
||||
# echo "${cfg} does not exist or is not a regular file" >&2
|
||||
# return 1
|
||||
# fi
|
||||
# }
|
||||
|
|
Loading…
Reference in New Issue
Block a user