1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
ericgaspar 2020-05-29 23:02:01 +02:00
parent db39e80742
commit 021edce133
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Register (book) web path
ynh_webpath_register --app="$app" --domain="$domain" --path_url="$path_url"
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#=================================================
# FIND AND OPEN A PORT
@ -150,7 +150,7 @@ ynh_script_progression --message="Configuring system user..." --weight=3
# Create a system user
ynh_system_user_create --username=$app --home_dir=$final_path
chown -R "$app":"$app" "$final_path"
chown -R $app:$app $final_path
#=================================================
# SETUP LOGROTATE

View file

@ -72,7 +72,7 @@ ynh_system_user_create --username=$app
#=================================================
# Restore permissions on app files
chown -R "$app":"$app" "$final_path"
chown -R $app:$app $final_path
#=================================================
# SPECIFIC RESTORATION

View file

@ -178,7 +178,7 @@ yunohost service add $app --description "Collaborative Markdown notes" --log="/v
#=================================================
# Set permissions on app files
chown -R "$app":"$app" "$final_path"
chown -R $app:$app $final_path
#=================================================
# START SYSTEMD SERVICE