Skip to content

Instantly share code, notes, and snippets.

@fabianoalmeida
Created March 6, 2012 13:47
Show Gist options
  • Save fabianoalmeida/1986356 to your computer and use it in GitHub Desktop.
Save fabianoalmeida/1986356 to your computer and use it in GitHub Desktop.
Starts Servers Configuration (Ubuntu)
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/etc/init.d/nginx start
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment