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