mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
node-mozilla-iot-gateway: add new package
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com> Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/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 &
|
||||
}
|
||||
Reference in New Issue
Block a user