From d6437fcf636f95687b4f7d769346f7abc0b51c3a Mon Sep 17 00:00:00 2001 From: santic-zombie Date: Sun, 10 Jul 2022 11:40:58 +0300 Subject: [PATCH] Formated text files --- opennebula | 32 ++++++++++++++++---------------- opennebula-flow | 22 +++++++++++----------- opennebula-gate | 22 +++++++++++----------- opennebula-hem | 22 +++++++++++----------- opennebula-novnc | 20 ++++++++++---------- opennebula-scheduler | 22 +++++++++++----------- opennebula-ssh-agent | 28 ++++++++++++++-------------- opennebula-sunstone | 22 +++++++++++----------- 8 files changed, 95 insertions(+), 95 deletions(-) diff --git a/opennebula b/opennebula index 046ef97..a932333 100644 --- a/opennebula +++ b/opennebula @@ -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 } diff --git a/opennebula-flow b/opennebula-flow index 03e3532..ef36efd 100644 --- a/opennebula-flow +++ b/opennebula-flow @@ -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 $? } diff --git a/opennebula-gate b/opennebula-gate index caae19c..8cc3b76 100644 --- a/opennebula-gate +++ b/opennebula-gate @@ -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 $? } diff --git a/opennebula-hem b/opennebula-hem index 37d0f23..32447ab 100644 --- a/opennebula-hem +++ b/opennebula-hem @@ -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 $? } diff --git a/opennebula-novnc b/opennebula-novnc index 36b4052..ea9cc18 100644 --- a/opennebula-novnc +++ b/opennebula-novnc @@ -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 $? } diff --git a/opennebula-scheduler b/opennebula-scheduler index e02fef1..b495b21 100644 --- a/opennebula-scheduler +++ b/opennebula-scheduler @@ -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 $? } diff --git a/opennebula-ssh-agent b/opennebula-ssh-agent index e6a48fe..bdcab5d 100644 --- a/opennebula-ssh-agent +++ b/opennebula-ssh-agent @@ -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 } diff --git a/opennebula-sunstone b/opennebula-sunstone index a5aebc0..5495fd3 100644 --- a/opennebula-sunstone +++ b/opennebula-sunstone @@ -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 $? }