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:
parent
55af895c0a
commit
d877f394d9
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue