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:
parent
7a1b062bc7
commit
b415ce09de
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#mkdir -p /etc/opt/simplex-xftp /var/opt/simplex-xftp
|
#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"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$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"
|
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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue