mirror of
https://github.com/YunoHost-Apps/agendav_ynh.git
synced 2024-09-03 20:36:12 +02:00
Update install
This commit is contained in:
parent
0e261c22d1
commit
6546ee2cba
1 changed files with 3 additions and 2 deletions
|
@ -129,7 +129,9 @@ ynh_app_setting_set --app=$app --key=encryptkey --value="$encryptkey"
|
||||||
# Copy and set AgenDAV configuration
|
# Copy and set AgenDAV configuration
|
||||||
timezone=$(cat /etc/timezone)
|
timezone=$(cat /etc/timezone)
|
||||||
|
|
||||||
caldav_url="https://${domain}${path%/}"
|
caldav_url="https://${domain}${path%/}${caldav_baseurl}"
|
||||||
|
|
||||||
|
logdir=/var/log/$app
|
||||||
|
|
||||||
dir=__DIR__
|
dir=__DIR__
|
||||||
|
|
||||||
|
@ -153,7 +155,6 @@ ynh_script_progression --message="Initialising AgenDAV..." --weight=3
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring log rotation..."
|
ynh_script_progression --message="Configuring log rotation..."
|
||||||
|
|
||||||
logdir=/var/log/$app
|
|
||||||
mkdir -p $logdir
|
mkdir -p $logdir
|
||||||
chown -R $app: $logdir
|
chown -R $app: $logdir
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue