Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hup hup nohup!

  • Loading branch information...
commit 0aab4445eec96f310a3bffdb4fdf93aa304dfac1 1 parent a746b9e
Wayne E. Seguin wayneeseguin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 redis/templates/redis.init.template
4 redis/templates/redis.init.template
View
@@ -64,9 +64,9 @@ redis_start()
log "#starting Redis as $redis_user using $redis_config_file..."
if [[ "$redis_user" != "$USER" ]] ; then
- su "$redis_user" -c "\"$redis_server_binary\" \"$redis_config_file\""
+ nohup su "$redis_user" -c "\"$redis_server_binary\" \"$redis_config_file\""&
else
- "$redis_server_binary" "$redis_config_file"
+ nohup "$redis_server_binary" "$redis_config_file" &
fi
fi
return $?
Please sign in to comment.
Something went wrong with that request. Please try again.