1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
This commit is contained in:
ericgaspar 2021-06-03 14:38:33 +02:00
parent 61697b2749
commit c8237f29c6
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@ exec_login_as() {
shift 1
exec_as $user --login "$@"
}
# Execute a command as another user
# usage: exec_as USER COMMAND [ARG ...]
exec_as() {

View file

@ -64,6 +64,7 @@ ynh_app_setting_set --app=$app --key=email --value=$email
ynh_script_progression --message="Installing dependencies..."
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_ruby --ruby_version=$RUBY_VERSION
#=================================================
# CREATE A POSTGRESQL DATABASE