aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-19 14:40:20 -0500
committerB Stack <bgstack15@gmail.com>2020-12-19 14:40:20 -0500
commitf6ec759890a86981942fd144400df3e8ac856644 (patch)
treec26541f8ad3a6d4c1f80dd09398bbd00aa6c6277 /debian
parentadd drag-and-drop /upload/ route (diff)
downloadhex-zero-f6ec759890a86981942fd144400df3e8ac856644.tar.gz
hex-zero-f6ec759890a86981942fd144400df3e8ac856644.tar.bz2
hex-zero-f6ec759890a86981942fd144400df3e8ac856644.zip
add hex-zeroctl which calls flask managerstack
and the function descriptions so hex-zeroctl can describe available functions
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/hex-zeroctl2
-rw-r--r--debian/install1
2 files changed, 3 insertions, 0 deletions
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
bgstack15