From 22a9e783c99b56db688793ad3736bd1e3fc20f40 Mon Sep 17 00:00:00 2001 From: Jonathan Warner Date: Mon, 12 Nov 2018 03:51:44 -0700 Subject: Revised shell scripts to check for wekan repository The scripts used to assume that ~/repos/wekan was a local wekan repo. They now check that the active directory is a wekan repo. --- status-wekan.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'status-wekan.sh') diff --git a/status-wekan.sh b/status-wekan.sh index 2b815f4a..3b0f232d 100755 --- a/status-wekan.sh +++ b/status-wekan.sh @@ -1,5 +1,7 @@ +#!/bin/sh + echo -e "\nWekan node.js:" ps aux | grep "node main.js" | grep -v grep echo -e "\nWekan mongodb:" ps aux | grep mongo | grep -v grep -echo -e "\nWekan logs are at /home/wekan/repos/wekan.log\n" +echo -e "\nWekan logs are at $PWD/wekan.log\n" -- cgit v1.2.3-1-g7c22