Set the 'RESIN' env var in user applications

This commit is contained in:
Petros Angelatos 2014-07-21 10:53:23 +03:00 committed by Pablo Carranza Vélez
parent 5bd4ee7ee6
commit d511d9df94

View File

@ -173,6 +173,7 @@ exports.update = ->
remoteApps = _.map remoteApps, (app) -> remoteApps = _.map remoteApps, (app) ->
env = env =
RESIN_DEVICE_UUID: uuid RESIN_DEVICE_UUID: uuid
RESIN: '1'
USER: 'root' USER: 'root'
if app.environment_variable? if app.environment_variable?