From 538720621f86f8e091978b652a5180dc852301fe Mon Sep 17 00:00:00 2001 From: Andrew Curley Date: Mon, 4 Aug 2014 16:11:44 -0400 Subject: [PATCH] Remove bad bash command from init.sh example It is considered bad form to include a `set -e` in a script destined for /etc/init.d. If there is an error in the script, the boot process may hault if `set -e` is used. See http://serverfault.com/a/416097/236060 --- examples/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/init.sh b/examples/init.sh index 1f0e0354..35f10af8 100644 --- a/examples/init.sh +++ b/examples/init.sh @@ -1,5 +1,5 @@ #!/bin/sh -set -e + # Example init script, this can be used with nginx, too, # since nginx and unicorn accept the same signals