1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-06-20 10:30:52 +02:00
parent 7a1b062bc7
commit b415ce09de

View file

@ -49,7 +49,7 @@ then
fi
#mkdir -p /etc/opt/simplex-xftp /var/opt/simplex-xftp
chown -R $app:$app /etc/opt/simplex-xftp /var/opt/simplex-xftp
#chown -R $app:$app /etc/opt/simplex-xftp /var/opt/simplex-xftp
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
@ -74,7 +74,8 @@ if [ -z "/etc/opt/simplex-xftp" ]; then
ynh_replace_string --match_string="port: 443" --replace_string="port: $port_xftp" --target_file="/etc/opt/simplex-xftp/file-server.ini"
chown -R $app:$app "/etc/opt/simplex-xftp"
#chown -R $app:$app "/etc/opt/simplex-xftp"
chown -R $app:$app /etc/opt/simplex-xftp /var/opt/simplex-xftp
fi
#=================================================