summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/wekan-help
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-07-26 15:44:34 +0300
committerGitHub <noreply@github.com>2018-07-26 15:44:34 +0300
commitaa080a75062405d1f7734422f8dc3f2c08c96140 (patch)
tree84978d05a813798f4109a6a8d53f3a02899b2ebb /snap-src/bin/wekan-help
parent397dda11cea5bb43f3c300c1244457d4af65656e (diff)
parent6173a7338135c87321be909482ff356d32977de6 (diff)
downloadwekan-aa080a75062405d1f7734422f8dc3f2c08c96140.tar.gz
wekan-aa080a75062405d1f7734422f8dc3f2c08c96140.tar.bz2
wekan-aa080a75062405d1f7734422f8dc3f2c08c96140.zip
Merge pull request #1799 from Akuket/devel
enable/disable api with env var
Diffstat (limited to 'snap-src/bin/wekan-help')
-rwxr-xr-xsnap-src/bin/wekan-help4
1 files changed, 4 insertions, 0 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help
index ee565500..5c3f9b31 100755
--- a/snap-src/bin/wekan-help
+++ b/snap-src/bin/wekan-help
@@ -28,6 +28,10 @@ echo -e "\t\t-connect mongodb-plug with slot from snap providing mongodb"
echo -e "\t\t-disable mongodb in $SNAP_NAME by calling: $ snap set $SNAP_NAME set disable-mongodb='true'"
echo -e "\t\t-set mongodb-bind-unix-socket to point to serving mongodb. Use relative path inside shared directory, e.g run/mongodb-27017.sock"
echo -e "\n"
+echo -e "To enable the API of wekan:"
+echo -e "\t$ snap set $SNAP_NAME WITH_API='true'"
+echo -e "\t-Disable the API:"
+echo -e "\t$ snap set $SNAP_NAME WITH_API='false'"
# parse config file for supported settings keys
echo -e "wekan supports settings keys"
echo -e "values can be changed by calling\n$ snap set $SNAP_NAME <key name>='<key value>'"