I have some Meteor apps running on AWS EC2 instances.
Everything is working fine except when I bundle and then tar -zxvf bundle.tgz into the /bundle directory.
The application does not hot deploy like it does on meteor.com. I have to reboot the servers.
Here is my service script
start on runlevel [2345]
stop on runlevel [-2345]
respawn
respawn limit 10 5
script
APP_DIR=/home/ubuntu/bundle
LOG_FILE=/var/log/app.logexport PORT=80 export
MONGO_URL=mongodb://somelogin:fakepasssword@somedomain:1231231/app_db
export ROOT_URL=http://somedomain.com
/usr/bin/node "$APP_DIR/main.js" 2>&1 >> $LOG_FILE
end script
Any ideas?