diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 12:02:22 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 12:58:41 +0200 |
commit | 70ae67877828bc17352dd8ae0f6fe02643ba990e (patch) | |
tree | dc1984997ebf691fbbac1c5b57c76e27582c6c9d /README.md | |
parent | fbc00d7932a717a227389040a96443e61b597d7c (diff) | |
download | picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.tar picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.tar.zst picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.zip |
Implement Installation with Make
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 +``` |