Formated text files

dev
santic-zombie 2 years ago
parent 38c26d3580
commit d6437fcf63
  1. 32
      opennebula
  2. 22
      opennebula-flow
  3. 22
      opennebula-gate
  4. 22
      opennebula-hem
  5. 20
      opennebula-novnc
  6. 22
      opennebula-scheduler
  7. 28
      opennebula-ssh-agent
  8. 22
      opennebula-sunstone

@ -12,8 +12,8 @@ depend() {
need mariadb
after syslog networking localmount netmount
before opennebula-scheduler opennebula-hem opennebula-sunstone \
opennebula-flow opennebula-gate
# opennebula-ssh-agent
opennebula-flow opennebula-gate
# opennebula-ssh-agent
}
start_pre() {
@ -25,24 +25,24 @@ start_pre() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start -- $command_args
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start -- $command_args
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--retry TERM/10/KILL/10 \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--retry TERM/10/KILL/10 \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}
stop_post() {
/bin/rm -f /var/lock/one/one
/usr/share/one/follower_cleanup
/bin/rm -f /var/lock/one/one
/usr/share/one/follower_cleanup
}

@ -13,18 +13,18 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}

@ -13,18 +13,18 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}

@ -13,18 +13,18 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}

@ -12,17 +12,17 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon \
--exec $command \
--user $command_user \
--start -- start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon \
--exec $command \
--user $command_user \
--start -- start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
$command stop
/bin/rm -f /var/lock/one/.novnc.lock
eend $?
ebegin "Stopping $RC_SVCNAME"
$command stop
/bin/rm -f /var/lock/one/.novnc.lock
eend $?
}

@ -13,18 +13,18 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}

@ -23,24 +23,24 @@ start_pre() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start -- $command_args
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start -- $command_args
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--retry TERM/10/KILL/10 \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--retry TERM/10/KILL/10 \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}
stop_post() {
/bin/rm -f /var/lock/one/one
/usr/share/one/follower_cleanup
/bin/rm -f /var/lock/one/one
/usr/share/one/follower_cleanup
}

@ -14,18 +14,18 @@ depend() {
}
start() {
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
ebegin "Starting $RC_SVCNAME"
start-stop-daemon --background \
--exec $command \
--make-pidfile --pidfile $pidfile --user $command_user \
--start
eend $?
}
stop() {
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
ebegin "Stopping $RC_SVCNAME"
start-stop-daemon --stop \
--exec $command \
--pidfile $pidfile --user $command_user
eend $?
}

Loading…
Cancel
Save