fix(serviceman): do not use 'sudo' or 'env PATH="$PATH"'

This commit is contained in:
AJ ONeal
2024-12-16 01:47:39 +00:00
parent 117ee6117d
commit 7b8f882d80
2 changed files with 2 additions and 3 deletions

View File

@@ -119,8 +119,7 @@ fn_srv_install() { (
cd "${my_vol}" || return 1
# leave options unquoted so they're interpreted separately
# shellcheck disable=SC2086
sudo env PATH="${PATH}" \
serviceman add --name "${my_name}" -- \
serviceman add --name "${my_name}" -- \
dashd \
${my_net_flag} \
-usehd \