summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/wekan-help
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/wekan-help
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/wekan-help')
-rwxr-xr-xsnap-src/bin/wekan-help5
1 files changed, 3 insertions, 2 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help
index 36854ddb..14702d9a 100755
--- a/snap-src/bin/wekan-help
+++ b/snap-src/bin/wekan-help
@@ -1,11 +1,12 @@
#!/bin/bash
-source $SNAP/bin/config &>/dev/null
+# first read settings
+source $SNAP/bin/wekan-read-settings &>/dev/null
echo -e "Wekan: The open-source Trello-like kanban.\n"
echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces"
echo -e "\n"
-echo -e "${SNAP_NAME} has two services, to check status/restart/stop use systemd commands"
+echo -e "${SNAP_NAME} has multiple services, to check status/restart/stop use systemctl"
echo -e "mongodb service:"
echo -e "\t$ sudo systemctl status/start/stop/restart snap.$SNAP_NAME.mongodb"
echo -e "wekan service"