From d5799a888d7f7a39b8b92f80a905f97ab3261b53 Mon Sep 17 00:00:00 2001 From: rawleyfowler Date: Sat, 7 May 2022 11:24:31 -0500 Subject: [PATCH] update init script --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 44930d5..f51b86e 100755 --- a/main.sh +++ b/main.sh @@ -2,8 +2,8 @@ # 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 + ./rawleydotxyz >> /var/log/rawleydotxyz 2>&1 else go build "$1/main.go" - $1/main >> /var/log/rawleyxyz/log 2>&1 + ./rawleydotxyz >> /var/log/rawleydotxyz 2>&1 fi