From 67b97a7266d95956cf41f2ce9f3c9a64156ba3d8 Mon Sep 17 00:00:00 2001 From: Gauthier Provost Date: Thu, 6 Sep 2018 17:58:27 +0800 Subject: [PATCH] Fix conf path in systemd unit file Add missing instruction in README --- README.md | 1 + system/sys-oled.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5180a02..01891b3 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Application to display Helios4 system status for i2c OLED screen. ``` git clone https://github.com/helios-4/sys-oled.git +cd sys-oled sudo ./install.sh ``` diff --git a/system/sys-oled.service b/system/sys-oled.service index eab848d..a74b616 100644 --- a/system/sys-oled.service +++ b/system/sys-oled.service @@ -2,7 +2,7 @@ Description=System Starting on OLED Display [Service] -EnvironmentFile=/etc/sys-oled.conf +EnvironmentFile=/usr/local/etc/sys-oled.conf ExecStart=/usr/bin/python /usr/local/bin/sys-oled --display ${DISPLAY} [Install]