From 84ad860cab45ecfced6b4b2887abfe8a0ba6e44c Mon Sep 17 00:00:00 2001 From: Senne Vande Sompele Date: Tue, 2 Jun 2020 08:24:02 +0200 Subject: [PATCH] Remove python-apt and changed readme added apt-get command --- README.md | 7 ++++--- requirements.txt | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ec222c..163633d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ It currently logs the following data: 1. Clone this repo 2. cd system_sensors 3. pip3 install -r requirements.txt -4. Edit settings.yaml to reflect your setup: +4. apt-get install python-apt +5. Edit settings.yaml to reflect your setup: | Value | Required | Default | Description | | ------------- | ------------- | ------------- | ------------- | @@ -33,8 +34,8 @@ It currently logs the following data: | check_wifi_strength | false | false | Check the wifi strength | external_drives | false | \ | Declare external drives you want to check disk usage of (see example settings.yaml) -5. python3 system_sensors.py /path/to/settings.yaml -6. (optional) create service to autostart the script at boot: +6. python3 system_sensors.py /path/to/settings.yaml +7. (optional) create service to autostart the script at boot: 1. sudo nano /etc/systemd/system/system_sensor.service 2. copy following script: ```shell diff --git a/requirements.txt b/requirements.txt index 5cd983a..c8e2860 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ paho-mqtt==1.5.0 psutil==5.6.6 pytz==2019.2 -PyYAML==5.2 -python-apt==0.7.8 \ No newline at end of file +PyYAML==5.2 \ No newline at end of file