Add a signal handler to pause.

It returns 0 when a signal is received.

Fixes #1496
Yes, this will break for those without the upx command. We can add a note,
but since installation is distro-specific and this is not a binary commonly
build, I think that should be okay.
On Oct 6, 2014 11:53 AM, "erictune" <notifications@github.com> wrote:

> In build/pause/prepare.sh:
>
> >  go build --ldflags '-extldflags "-static" -s' pause.go
> > +
> > +# Run goupx to shrink binary size.
> > +go get github.com/pwaller/goupx
>
> does running go get ... also get the upx command, which appears to be
> separate? If not, is this going to break for people that don't have upx
> installed?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/1563/files#r18465140>
> .
>