expect bins in ./core

This commit is contained in:
AJ ONeal 2015-11-23 08:56:19 +00:00
parent 994eb7d54c
commit 9399c4893a
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
description "WALNUT, by Daplie" description "WALNUT, by Daplie"
version "0.1" version "0.7"
author "Daplie Inc" author "Daplie Inc"
# Upstart has nothing in $PATH by default # Upstart has nothing in $PATH by default
@ -15,7 +15,7 @@ script
DATE=`date '+%F_%H-%M-%S'` DATE=`date '+%F_%H-%M-%S'`
cd /srv/walnut cd /srv/walnut
mkdir -p logs mkdir -p logs
exec node bin/walnut \ exec node ./core/bin/walnut \
> "./logs/access.${DATE}.log" \ > "./logs/access.${DATE}.log" \
2> "./logs/error.${DATE}.log" 2> "./logs/error.${DATE}.log"
end script end script