Skip to content

Commit

Permalink
Merge pull request #267 from ncharles/bug_4634/int/prevent_verosity_o…
Browse files Browse the repository at this point in the history
…f_install_script

fixes #4634: prevent extra verbosity of rudder-init script
  • Loading branch information
jooooooon committed Mar 17, 2014
2 parents e6526ce + f567b59 commit 03f70c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rudder-server-root/SOURCES/rudder-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ echo " done."
echo -n "Restarting services..."

# Launch manually a single cf-agent instance to set passwords everywhere
/opt/rudder/bin/cf-agent
/opt/rudder/bin/cf-agent &> $TMP_LOG

# Start the whole infrastructure
/etc/init.d/rudder-agent restart &> $TMP_LOG
if [ -e $LDAPDATA_PATH ]; then /etc/init.d/slapd start &> $TMP_LOG; fi
/etc/init.d/jetty restart &> $TMP_LOG || echo "WARNING: Jetty failed to start, maybe there is not enough RAM or swap on the machine. Skipping..."
/etc/init.d/rudder-agent restart &>> $TMP_LOG
if [ -e $LDAPDATA_PATH ]; then /etc/init.d/slapd start &>> $TMP_LOG; fi
/etc/init.d/jetty restart &>> $TMP_LOG || echo "WARNING: Jetty failed to start, maybe there is not enough RAM or swap on the machine. Skipping..."
echo " done."

echo
Expand Down

0 comments on commit 03f70c2

Please sign in to comment.