mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Remove some unwanted/pasted* code
This commit is contained in:
parent
8fc5c28b4a
commit
3a05a92e0b
@ -2,9 +2,6 @@
|
||||
|
||||
set -o nounset
|
||||
|
||||
# Make sure umask is sane
|
||||
umask 022
|
||||
|
||||
# Check for uninitialized variables
|
||||
NOUNSET=${NOUNSET:-}
|
||||
if [[ -n "$NOUNSET" ]]; then
|
||||
@ -179,11 +176,10 @@ EOF
|
||||
chmod 0700 ${monit_exec_path}
|
||||
|
||||
# Kill background processes on exit
|
||||
trap exit_trap EXIT
|
||||
function exit_trap {
|
||||
exit $?
|
||||
}
|
||||
# Exit on any errors so that errors don't compound and kill if any services already started
|
||||
trap exit_trap EXIT
|
||||
|
||||
echo -e "BigchainDB process manager configured!"
|
||||
set -o errexit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user