mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 09:48:13 -05:00
Remove cruft
This commit is contained in:
parent
d6e96dc3cb
commit
b4e5b8b6db
@ -1,20 +0,0 @@
|
|||||||
#!/command/with-contenv bash
|
|
||||||
# shellcheck shell=bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
log_info "Configuring $NPMUSER user ..."
|
|
||||||
|
|
||||||
if id -u "$NPMUSER"; then
|
|
||||||
# user already exists
|
|
||||||
usermod -u "$PUID" "$NPMUSER" || exit 1
|
|
||||||
else
|
|
||||||
# Add npm user
|
|
||||||
useradd -o -u "$PUID" -U -d "$NPMHOME" -s /bin/false "$NPMUSER" || exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
usermod -G "$PGID" "$NPMUSER" || exit 1
|
|
||||||
groupmod -o -g "$PGID" "$NPMUSER" || exit 1
|
|
||||||
# Home for npm user
|
|
||||||
mkdir -p "$NPMHOME"
|
|
||||||
chown -R "$PUID:$PGID" "$NPMHOME"
|
|
@ -1,13 +0,0 @@
|
|||||||
[main]
|
|
||||||
multi_line = True
|
|
||||||
log_level = INFO
|
|
||||||
table_format = psql
|
|
||||||
syntax_style = monokai
|
|
||||||
wider_completion_menu = True
|
|
||||||
prompt = '\d> '
|
|
||||||
prompt_continuation = '-> '
|
|
||||||
less_chatty = True
|
|
||||||
auto_vertical_output = True
|
|
||||||
|
|
||||||
[favorite_queries]
|
|
||||||
show_users = select * from user
|
|
Loading…
Reference in New Issue
Block a user