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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-11-24 22:44:48 +01:00
parent 55af895c0a
commit d877f394d9

View file

@ -53,6 +53,16 @@ ynh_add_systemd_config
yunohost service add $app --description="File sharing platform" --log="/var/log/$app/$app.log"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
chmod 400 "$install_dir/ocis.env"
chown $app:$app "$install_dir/ocis.env"
#=================================================
# START SYSTEMD SERVICE
#=================================================