forked from tastytea/overlay
net-im/mjolnir: fix init script
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
51631cc764
commit
087308ee85
|
@ -19,5 +19,8 @@ depend() {
|
|||
|
||||
start_pre() {
|
||||
local cfg=/opt/mjolnir/config/production.yaml
|
||||
[[ -f ${cfg} ]] || echo "${cfg} does not exist or is not a regular file" >&2
|
||||
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