docker-compose
is useful if you want to run more than one container at the same time, to generate more noise. To do so, simply run the following commands:
$ cd examples/docker-compose
$ docker-compose build
$ docker-compose up --scale noisy=<number-of-containers>
You can use systemd to start noisy.py automatically on every boot. The provided example service assumes that you have the script copied to /opt/noisy and that noisy.py and config.json are readable by the 'noisy' user. You can change these values to suit your needs.
To configure the service:
$ sudo cp examples/systemd/noisy.service /etc/systemd/system
$ sudo systemctl daemon-reload
$ sudo systemctl enable noisy && sudo systemctl start noisy
You can view the script's output by running:
$ journalctl -f -n noisy