summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew Fisher <drew@sandstorm.io>2016-07-11 15:20:10 -0700
committerDavid Renshaw <david@sandstorm.io>2016-11-03 23:42:00 -0400
commit87ce042c63b403780bcd5c5a50967925d433a1a1 (patch)
tree609888eb6b894a7cdaba8c1ee60e75eefab02f5e
parent91f9cf12b7dfbdf7a7d2cfa53821964e3fbb9a04 (diff)
downloadwekan-87ce042c63b403780bcd5c5a50967925d433a1a1.tar.gz
wekan-87ce042c63b403780bcd5c5a50967925d433a1a1.tar.bz2
wekan-87ce042c63b403780bcd5c5a50967925d433a1a1.zip
Add SANDSTORM=1 to the environment under Sandstorm
We add the SANDSTORM=1 environment variable to sandstorm-pkgdef.capnp so that accounts-sandstorm will ensure that it's the only loaded accounts package when running under Sandstorm.
-rw-r--r--sandstorm-pkgdef.capnp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp
index d9e7da3d..17b27a8a 100644
--- a/sandstorm-pkgdef.capnp
+++ b/sandstorm-pkgdef.capnp
@@ -184,6 +184,7 @@ const myCommand :Spk.Manifest.Command = (
environ = [
# Note that this defines the *entire* environment seen by your app.
(key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
+ (key = "SANDSTORM", value = "1"),
(key = "METEOR_SETTINGS", value = "{\"public\": {\"sandstorm\": true}}")
]
);