mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Rename opennebula daemons for CentOS
This commit is contained in:
parent
d629c13ef6
commit
049205f6b5
@ -1,21 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.d/init.d/oned
|
||||
# /etc/rc.d/init.d/opennebula
|
||||
#
|
||||
# Starts the OpenNebula daemon
|
||||
#
|
||||
# chkconfig: 345 26 74
|
||||
# description: Starts the OpenNebula daemon
|
||||
# processname: oned
|
||||
# processname: opennebula
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: oned
|
||||
# Provides: opennebula
|
||||
# Required-Start: $local_fs $remote_fs
|
||||
# Required-Stop: $local_fs $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start and stop oned
|
||||
# Description: start and stop oned
|
||||
# Short-Description: start and stop opennebula
|
||||
# Description: start and stop opennebula
|
||||
### END INIT INFO
|
||||
|
||||
ONE_BIN=/usr/bin/one
|
||||
@ -70,7 +70,7 @@ restart)
|
||||
restart
|
||||
;;
|
||||
status)
|
||||
status oned
|
||||
status opennebula
|
||||
RETVAL=$?
|
||||
;;
|
||||
*)
|
@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.d/init.d/occi-server
|
||||
# /etc/rc.d/init.d/opennebula-occi
|
||||
#
|
||||
# Starts the OCCI Server
|
||||
#
|
||||
# chkconfig: 345 26 74
|
||||
# description: Starts the OpenNebula daemon
|
||||
# processname: occi-server
|
||||
# processname: opennebula-occi
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: occi-server
|
||||
# Provides: opennebula-occi
|
||||
# Required-Start: $local_fs $remote_fs oned
|
||||
# Required-Stop: $local_fs $remote_fs oned
|
||||
# Default-Start: 2 3 4 5
|
||||
@ -70,7 +70,7 @@ restart)
|
||||
restart
|
||||
;;
|
||||
status)
|
||||
status occi-server
|
||||
status opennebula-occi
|
||||
RETVAL=$?
|
||||
;;
|
||||
*)
|
@ -1,24 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.d/init.d/sunstone-server
|
||||
# /etc/rc.d/init.d/opennebula-sunstone
|
||||
#
|
||||
# Starts the Sunstone Server
|
||||
#
|
||||
# chkconfig: 345 26 74
|
||||
# description: Starts the OpenNebula daemon
|
||||
# processname: sunstone-server
|
||||
# processname: opennebula-sunstone
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: sunstone-server
|
||||
# Provides: opennebula-sunstone
|
||||
# Required-Start: $local_fs $remote_fs oned
|
||||
# Required-Stop: $local_fs $remote_fs oned
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start and stop sunstone-server
|
||||
# Description: start and stop sunstone-server
|
||||
# Short-Description: start and stop opennebula-sunstone
|
||||
# Description: start and stop opennebula-sunstone
|
||||
### END INIT INFO
|
||||
|
||||
SUNSTONE_BIN=/usr/bin/sunstone-server
|
||||
SUNSTONE_BIN=/usr/bin/opennebula-sunstone
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
@ -70,7 +70,7 @@ restart)
|
||||
restart
|
||||
;;
|
||||
status)
|
||||
status sunstone-server
|
||||
status opennebula-sunstone
|
||||
RETVAL=$?
|
||||
;;
|
||||
*)
|
Loading…
Reference in New Issue
Block a user