From 3a5b8c09288a99295e8ca95f82a9cd88316238c0 Mon Sep 17 00:00:00 2001 From: Ted Nyman Date: Sun, 10 Jun 2012 22:22:58 -0700 Subject: [PATCH] Remove a ton of trailing whitespace in init.stud --- init.stud | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/init.stud b/init.stud index 0dba4c5..dc0b0de 100755 --- a/init.stud +++ b/init.stud @@ -1,15 +1,15 @@ #!/bin/sh -### BEGIN INIT INFO -# Provides: stud -# Required-Start: $local_fs $remote_fs -# Required-Stop: $local_fs $remote_fs -# Should-Start: $syslog -# Should-Stop: $syslog -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Start or stop stud (SSL offloader) -### END INIT INFO +### BEGIN INIT INFO +# Provides: stud +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $syslog +# Should-Stop: $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start or stop stud (SSL offloader) +### END INIT INFO ####################################################### # GLOBALS # @@ -145,7 +145,7 @@ ULIMIT_N="" # # NOTE: set this only if you really know what your're # doing -# +# # ADDITIONAL_STUD_OPT="" # EOF @@ -181,7 +181,7 @@ _real_single_instance_start() { # generate stud command line options opts="-f ${FRONTEND_ADDRESS}" opts="${opts} -b ${BACKEND_ADDRESS}" - + if [ "${TLS_ONLY}" = "1" ]; then opts="${opts} --tls" else @@ -225,7 +225,7 @@ _real_single_instance_start() { opts="${opts} -M ${CACHE_UPDATE_IFACE}" fi fi - + fi # chroot? @@ -372,7 +372,7 @@ stud_single_instance_restart() { Error="Unable to stop undefined stud instance." return 1 fi - + # maybe we need to stop it first... if stud_single_instance_status "${name}"; then stud_single_instance_stop "${name}" || return 1 @@ -555,7 +555,7 @@ stud_instances_restart() { num_failed=$((num_failed + 1)) fi done - + if [ "${num_failed}" != "0" ]; then return 1 else @@ -834,4 +834,4 @@ case $1 in ;; esac -# EOF \ No newline at end of file +# EOF