Skip to content

Commit

Permalink
Using nohup for starting etcd.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Feb 6, 2014
1 parent cc0dbb0 commit 28b431d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etcd/bin/restart
Expand Up @@ -4,7 +4,7 @@ if (( pid > 0 ))
then kill -TERM ${pid} || true
fi

etcd &> /var/log/etcd.log &
nohup etcd &> /var/log/etcd.log &
echo $! > /var/run/etcd.pid
disown

Expand Down
2 changes: 1 addition & 1 deletion etcd/bin/start
Expand Up @@ -4,7 +4,7 @@ if (( pid > 0 ))
then log fail "etcd is already running."
fi

etcd &> /var/log/etcd.log &
nohup etcd &> /var/log/etcd.log &
echo $! > /var/run/etcd.pid
disown

Expand Down

0 comments on commit 28b431d

Please sign in to comment.