diff options
author | Jonathan Warner <warnerjon12@gmail.com> | 2018-11-12 03:51:44 -0700 |
---|---|---|
committer | Jonathan Warner <warnerjon12@gmail.com> | 2018-11-12 05:45:51 -0700 |
commit | 22a9e783c99b56db688793ad3736bd1e3fc20f40 (patch) | |
tree | 85bc85d372a7c1f9e9bdfe3ee5530273a02f0157 /status-wekan.sh | |
parent | d4e75165dde4977f8354170d4367a4c5213b122c (diff) | |
download | wekan-22a9e783c99b56db688793ad3736bd1e3fc20f40.tar.gz wekan-22a9e783c99b56db688793ad3736bd1e3fc20f40.tar.bz2 wekan-22a9e783c99b56db688793ad3736bd1e3fc20f40.zip |
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.
Diffstat (limited to 'status-wekan.sh')
-rwxr-xr-x | status-wekan.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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" |