From f6ec759890a86981942fd144400df3e8ac856644 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sat, 19 Dec 2020 14:40:20 -0500 Subject: add hex-zeroctl which calls flask manager and the function descriptions so hex-zeroctl can describe available functions --- debian/hex-zeroctl | 2 ++ debian/install | 1 + 2 files changed, 3 insertions(+) create mode 100755 debian/hex-zeroctl (limited to 'debian') diff --git a/debian/hex-zeroctl b/debian/hex-zeroctl new file mode 100755 index 0000000..7036817 --- /dev/null +++ b/debian/hex-zeroctl @@ -0,0 +1,2 @@ +#!/bin/sh +su hex-zero -s /bin/bash -c "python3 /var/www/hex-zero/hex_zero.py ${*}" diff --git a/debian/install b/debian/install index 8bd6e93..1630ed6 100644 --- a/debian/install +++ b/debian/install @@ -1 +1,2 @@ debian/install-short_url-for-hex-zero.sh /usr/libexec/hex-zero +debian/hex-zeroctl /usr/bin -- cgit