update init script

This commit is contained in:
2022-05-07 11:24:31 -05:00
parent 88ef95cc73
commit d5799a888d

View File

@@ -2,8 +2,8 @@
# This script is to be run by your init service, such as rc.d # This script is to be run by your init service, such as rc.d
# WIP: Do not use this at the moment. # WIP: Do not use this at the moment.
if [ -e "main" ]; then if [ -e "main" ]; then
$1/main >> /var/log/rawleyxyz/log 2>&1 ./rawleydotxyz >> /var/log/rawleydotxyz 2>&1
else else
go build "$1/main.go" go build "$1/main.go"
$1/main >> /var/log/rawleyxyz/log 2>&1 ./rawleydotxyz >> /var/log/rawleydotxyz 2>&1
fi fi