From 179c0196f10f19ff96f227ce1803f1d2cc542090 Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Tue, 26 Apr 2022 15:19:31 -0500 Subject: [PATCH] Update main.sh --- main.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 2c7f482..44930d5 100755 --- a/main.sh +++ b/main.sh @@ -1,7 +1,9 @@ #!/bin/sh -# WIP: Do not use this at the moment +# This script is to be run by your init service, such as rc.d +# WIP: Do not use this at the moment. if [ -e "main" ]; then $1/main >> /var/log/rawleyxyz/log 2>&1 else - go build "$1/main.go" && $1/main &> /var/log/rawleyxyz/log + go build "$1/main.go" + $1/main >> /var/log/rawleyxyz/log 2>&1 fi