From 821e0b7be5ed72622ebdb539b8493128cec85576 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Sun, 28 Jun 2020 23:22:36 +0200 Subject: [PATCH] Fix in daemon for catch sigquit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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.