From 70ae67877828bc17352dd8ae0f6fe02643ba990e Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 17 Sep 2020 12:02:22 +0200 Subject: Implement Installation with Make --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index b01c87b..ec414fb 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,25 @@ A small Web Application to shutdown or reboot your Raspberry Pi. ## Current State The code works but there is still documentation / automation missing. + + +## Usage + +**Please cd into the repository to install/uninstall!** + +### Installation +```bash + sudo useradd -rUs /usr/bin/nologin picontrol + sudo make install +``` + +### Activation +```bash + sudo systemctl enable --now picontrol +``` + +### How to uninstall +```bash + sudo systemctl disable --now picontrol + sudo make uninstall +``` -- cgit v1.2.3-70-g09d2