diff --git a/README.md b/README.md index 7018dbf..2c79a39 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,14 @@ Environment=USER=pzoo HOME=/home/pzoo WantedBy=multi-user.target ``` +### Configuration + +You can configure the script placing a config file in /etc/pastafari/stats.cfg + +``` +[DEFAULT] + +url_server=http://url_server_collect_data/send_data/api_key/api_key_selected/ip/ip_server +``` + +Where url_server_collect_data is the hostname of server collecting data, api_key_selected, the api key of server for accept the data, and ip_server, the ip of the server that send the data.