update init script
This commit is contained in:
4
main.sh
4
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
|
||||
|
||||
Reference in New Issue
Block a user