You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
188 B

#!/bin/sh /etc/rc.common
START=99
_npm=/usr/bin/npm
start()
{
mkdir -p /tmp/mozilla-iot/gateway/
cd /opt/mozilla-iot/gateway/
$_npm start &> /tmp/mozilla-iot/gateway/run-app.log &
}