|
@@ -1,11 +1,12 @@
|
|
#!/bin/bash
|
|
#!/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 "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 "Make sure you have connected all interfaces, check more by calling $ snap interfaces"
|
|
echo -e "\n"
|
|
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 "mongodb service:"
|
|
echo -e "\t$ sudo systemctl status/start/stop/restart snap.$SNAP_NAME.mongodb"
|
|
echo -e "\t$ sudo systemctl status/start/stop/restart snap.$SNAP_NAME.mongodb"
|
|
echo -e "wekan service"
|
|
echo -e "wekan service"
|