Skip to content

Instantly share code, notes, and snippets.

@johnmcaliley
Created July 8, 2011 15:13
Show Gist options
  • Save johnmcaliley/1072053 to your computer and use it in GitHub Desktop.
Save johnmcaliley/1072053 to your computer and use it in GitHub Desktop.
example that shows nginx startup command
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#start nginx
/usr/local/nginx/sbin/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment