From fcd9283f144e2dcb18013385ff402a5295701a46 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Sat, 9 Mar 2024 21:31:14 -0700 Subject: move fruitvote start --- html/build.sh | 2 +- html/fruitvote/start.sh | 7 +++++++ html/start.sh | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 html/fruitvote/start.sh delete mode 100755 html/start.sh diff --git a/html/build.sh b/html/build.sh index 816c324..6bc3571 100755 --- a/html/build.sh +++ b/html/build.sh @@ -16,8 +16,8 @@ cp -r the-abstraction-engine/dist ../dist/public_html/the-abstraction-engine mkdir -p ../dist/fruitvote cd fruitvote go build -o ../../dist/fruitvote/fruitvote -cd .. cp start.sh ../dist/fruitvote/start.sh +cd .. echo "finished building HTML" diff --git a/html/fruitvote/start.sh b/html/fruitvote/start.sh new file mode 100755 index 0000000..3c274a8 --- /dev/null +++ b/html/fruitvote/start.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +nice -n 19 /home/simponic/fruitvote/fruitvote \ + --users simponic,nginx \ + --socket-path /home/simponic/fruitvote/http.sock \ + --database /home/simponic/fruitvote/db.sqlite \ + & diff --git a/html/start.sh b/html/start.sh deleted file mode 100755 index 3c274a8..0000000 --- a/html/start.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -nice -n 19 /home/simponic/fruitvote/fruitvote \ - --users simponic,nginx \ - --socket-path /home/simponic/fruitvote/http.sock \ - --database /home/simponic/fruitvote/db.sqlite \ - & -- cgit v1.2.3-70-g09d2