Skip to content

Commit 8af09a9

Browse files
committed
ejabberdctl: support NetBSD su
1 parent 9e31ee2 commit 8af09a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ejabberdctl.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ exec_cmd()
133133
as_install_user,OpenBSD)
134134
su -s /bin/sh "$INSTALLUSER" -c 'exec "$0" "$@"' "$@"
135135
;;
136+
as_install_user,NetBSD)
137+
su - "$INSTALLUSER" -c '"$@"' -- "$@"
138+
;;
136139
as_install_user,*)
137140
su -s /bin/sh -c 'exec "$0" "$@"' "$INSTALLUSER" -- "$@"
138141
;;

0 commit comments

Comments
 (0)