summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/config
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2018-02-09 02:19:12 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-02-21 22:29:25 +0000
commit07fc296762275b911d9b24e8f9046f22c18f7074 (patch)
tree2c00b2a3980f4f3ca619843eecba4d99310bd4e5 /snap-src/bin/config
parent62fca18feaf3d5176817e43b08df17dfd40113be (diff)
downloadwekan-07fc296762275b911d9b24e8f9046f22c18f7074.tar.gz
wekan-07fc296762275b911d9b24e8f9046f22c18f7074.tar.bz2
wekan-07fc296762275b911d9b24e8f9046f22c18f7074.zip
Cleaning snapctl usage
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Diffstat (limited to 'snap-src/bin/config')
-rwxr-xr-xsnap-src/bin/config7
1 files changed, 1 insertions, 6 deletions
diff --git a/snap-src/bin/config b/snap-src/bin/config
index aa1625f6..c3434c8e 100755
--- a/snap-src/bin/config
+++ b/snap-src/bin/config
@@ -1,11 +1,6 @@
#!/bin/sh
-# store here all configuration options for wekan snap
-SNAP_NAME="wekan"
-
-# read configured settings first
-SETTINGS_FILE="$SNAP_COMMON/wekan_settings.sh"
-[ -f $SETTINGS_FILE ] && . $SETTINGS_FILE
+# All supported keys are defined here together with descriptions and default values
# list of supported keys
keys="MONGODB_BIND_UNIX_SOCKET MONGODB_BIND_IP MONGODB_PORT MAIL_URL MAIL_FROM ROOT_URL PORT DISABLE_MONGODB CADDY_ENABLED CADDY_BIND_PORT"