diff --git a/.gitignore b/.gitignore index 03d61ea..6bfa0c0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,3 @@ *.pem *~ projects.d -opt.d/tor-* -opt.d/nginx-* diff --git a/README.md b/README.md index 12f4e57..3315bba 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ Intuitively obvious to the most casual observer: * `eotk harvest projectname ...` # or: `-a` for all * *synonyms:* `onions` * print list of onions used by projects +* `eotk ps` + * do a stupid grep for possibly orphaned processes # Installation: OSX diff --git a/eotk b/eotk index b6be329..804e384 100755 --- a/eotk +++ b/eotk @@ -106,6 +106,10 @@ case "$cmd" in Action maps "$@" ;; + ps) + ps auxww | grep /eotk/ + ;; + delete) # project, or "-a" echo tbd ;; diff --git a/opt.d/build-nginx-on-debian.sh b/opt.d/build-nginx-on-debian.sh index aa8794b..b31c632 100755 --- a/opt.d/build-nginx-on-debian.sh +++ b/opt.d/build-nginx-on-debian.sh @@ -36,4 +36,7 @@ done make || exit 1 make install || exit 1 +cd $here || exit 1 +ln -s sbin/nginx || exit 1 + exit 0 diff --git a/opt.d/build-tor-on-debian.sh b/opt.d/build-tor-on-debian.sh index 1c27a0d..ea59bd0 100755 --- a/opt.d/build-tor-on-debian.sh +++ b/opt.d/build-tor-on-debian.sh @@ -18,4 +18,7 @@ cd $dir || exit 1 make || exit 1 make install || exit 1 +cd $here || exit 1 +ln -s bin/tor || exit 1 + exit 0