1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/openproject_ynh.git synced 2024-09-03 19:56:10 +02:00

hotfix typo +error exec_as YEP 1.6

This commit is contained in:
Geoff Montel 2019-10-02 08:12:30 +02:00
parent 899fe22f91
commit 0e34c2ea6a
3 changed files with 3 additions and 3 deletions

View file

@ -11,6 +11,7 @@ pkg_dependencies="zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================
exec_as() { exec_as() {
echo "exec_as $@"
local USER=$1 local USER=$1
shift 1 shift 1

View file

@ -93,7 +93,6 @@ RAILS_ENV="production"
EOF EOF
chown $app: $_homedir/.profile chown $app: $_homedir/.profile
exec_as $app bash $_homedir/.profile
ynh_script_progression --message="Setting up Ruby and Node..." --weight=1 ynh_script_progression --message="Setting up Ruby and Node..." --weight=1

View file

@ -40,7 +40,7 @@ fi
#================================================= #=================================================
# STOP AND REMOVE SERVICE # STOP AND REMOVE SERVICE
#================================================= #=================================================
/ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
# Remove the dedicated systemd config # Remove the dedicated systemd config
ynh_remove_systemd_config ynh_remove_systemd_config