An open API service indexing awesome lists of open source software.

https://github.com/thiht/sighup

A Docker image responding to SIGHUP signals
https://github.com/thiht/sighup

docker docker-gen sighup

Last synced: 12 days ago
JSON representation

A Docker image responding to SIGHUP signals

Awesome Lists containing this project

README

          

# sighup [:whale:](https://hub.docker.com/r/thiht/sighup/ "thiht/sighup")

This container logs the current date when it receives the `SIGHUP` signal.

## Why?

I needed something simple to perform `SIGHUP` notification tests with [docker-gen](https://github.com/jwilder/docker-gen).

## Build

```sh
$ docker build -t thiht/sighup:latest .
```

## Run

```sh
$ docker run -d --name sighup thiht/sighup:latest
```

## Test

```sh
$ docker kill -s HUP sighup
$ docker logs sighup
Sat Dec 2 14:43:23 UTC 2017
```

## License

See the [LICENSE file](./LICENSE).