mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
don't fail too hard. the user will see an error anyway
This commit is contained in:
parent
d9ea4da24e
commit
60c3d6d2c2
@ -33,7 +33,7 @@ SCRIPTNAME=/etc/init.d/opennebula-sunstone
|
||||
#
|
||||
do_start()
|
||||
{
|
||||
service opennebula-novnc start || exit $?
|
||||
service opennebula-novnc start
|
||||
mkdir -p /var/run/one /var/lock/one /var/log/one
|
||||
chown oneadmin /var/run/one /var/lock/one /var/log/one
|
||||
su oneadmin -s /bin/sh -c "$DAEMON start"
|
||||
@ -45,7 +45,7 @@ do_start()
|
||||
do_stop()
|
||||
{
|
||||
su oneadmin -s /bin/sh -c "$DAEMON stop"
|
||||
service opennebula-novnc stop || exit $?
|
||||
service opennebula-novnc stop
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
@ -33,7 +33,7 @@ SCRIPTNAME=/etc/init.d/opennebula-sunstone
|
||||
#
|
||||
do_start()
|
||||
{
|
||||
service opennebula-novnc start || exit $?
|
||||
service opennebula-novnc start
|
||||
mkdir -p /var/run/one /var/lock/one /var/log/one
|
||||
chown oneadmin /var/run/one /var/lock/one /var/log/one
|
||||
su oneadmin -s /bin/sh -c "$DAEMON start"
|
||||
@ -45,7 +45,7 @@ do_start()
|
||||
do_stop()
|
||||
{
|
||||
su oneadmin -s /bin/sh -c "$DAEMON stop"
|
||||
service opennebula-novnc stop || exit $?
|
||||
service opennebula-novnc stop
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user