diff --git a/pmgr b/pmgr index eaf5df0..6554076 100755 --- a/pmgr +++ b/pmgr @@ -2,7 +2,7 @@ # pmgr -- proxy manager -PMGR_VERSION=0.0.1 +PMGR_VERSION=0.0.2 PMGR_WORKDIR="${PMGR_WORKDIR:-"$HOME"/.config/pmgr}" PMGR_ENV_DIR="${PMGR_ENV_DIR:-"$PMGR_WORKDIR"/environment}" @@ -41,7 +41,7 @@ list_proxies() { printf '\e[1mHOST PROTO FILE STATUS AUTOSTART\033[0m\n' - for file in $(find "$PMGR_ENV_DIR" -type f); do + for file in $(find "$PMGR_ENV_DIR" -type f -follow); do unit="${file##*/}" if systemctl --user is-active "$unit" >/dev/null 2>&1; then active='\033[32mactive\033[0m' diff --git a/pmgr.1 b/pmgr.1 index 407a7e3..8041e77 100644 --- a/pmgr.1 +++ b/pmgr.1 @@ -1,5 +1,5 @@ .\" vim: set filetype=groff: -.TH PMGR 1 "2023-04-25" "pmgr 0.0.1" +.TH PMGR 1 "2023-04-25" "pmgr 0.0.2" .SH NAME pmgr - proxy manager based on systemd user units.