X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=inline;f=Makefile;h=7de2e300efbed6e916e5b1543714c28ad64b44e7;hb=HEAD;hp=764582e16d4dde5693121825b8e23b66ef7c1c4d;hpb=2ebc9a48319e5235f70886cfde7f86e4fa43a09b;p=GroveSensor diff --git a/Makefile b/Makefile index 764582e..7de2e30 100644 --- a/Makefile +++ b/Makefile @@ -19,3 +19,11 @@ upload: serial: microcom -p /dev/ttyUSB0 + +upgrade: systemctl-stop upload systemctl-start + +systemctl-stop: + sudo systemctl stop grove-sensor + +systemctl-start: + sudo systemctl start grove-sensor