mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update install
This commit is contained in:
parent
fdb47fde5d
commit
ac1a118780
1 changed files with 5 additions and 5 deletions
|
@ -114,11 +114,11 @@ mkdir -p "/var/log/$app"
|
|||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
|
||||
# Add users
|
||||
# We can't use the official helper because we need to set the shell for the login
|
||||
test getent passwd "$app" &>/dev/null || \
|
||||
useradd -d "/home/$app" --system --user-group "$app" --shell /bin/bash || \
|
||||
ynh_die "Unable to create $app system account"
|
||||
# # Add users
|
||||
# # We can't use the official helper because we need to set the shell for the login
|
||||
# test getent passwd "$app" &>/dev/null || \
|
||||
# useradd -d "/home/$app" --system --user-group "$app" --shell /bin/bash || \
|
||||
# ynh_die "Unable to create $app system account"
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
|
|
Loading…
Reference in a new issue