1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Update install

This commit is contained in:
ericgaspar 2022-02-09 11:17:38 +01:00
parent a7cdc79cb0
commit 5db94d1c5d
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -130,10 +130,11 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
mkdir -p "/etc/vikunja"
redis_db=$(ynh_redis_get_free_db)
ynh_add_config --template="../conf/config.yml" --destination="/opt/vikunja/config.yml"
chmod 400 "/opt/vikunja/config.yml"
chown $app:$app "/opt/vikunja/config.yml"
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
chmod 400 "/etc/vikunja/config.yml"
chown $app:$app "/etc/vikunja/config.yml"
#=================================================
# SETUP SYSTEMD