only start opennebula if database do not exists
This commit is contained in:
parent
a71da62006
commit
fb1bea8654
@ -10,6 +10,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# creation de la base /var/lib/one/one.db
|
# creation de la base /var/lib/one/one.db
|
||||||
systemctl daemon-reload
|
if [ ! -e /var/lib/one/one.db ]; then
|
||||||
systemctl start opennebula.service
|
systemctl daemon-reload
|
||||||
|
systemctl start opennebula.service
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user