net-im/mjolnir: fix init script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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
|
need net
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
# doesn't work all of a sudden for some reason
|
||||||
local cfg=/opt/mjolnir/config/production.yaml
|
# start_pre() {
|
||||||
if [[ -f ${cfg} ]]; then
|
# local cfg=/opt/mjolnir/config/production.yaml
|
||||||
echo "${cfg} does not exist or is not a regular file" >&2
|
# if [[ -f ${cfg} ]]; then
|
||||||
return 1
|
# echo "${cfg} does not exist or is not a regular file" >&2
|
||||||
fi
|
# return 1
|
||||||
}
|
# fi
|
||||||
|
# }
|
||||||
|
|
Reference in New Issue
Block a user