1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-03 11:41:51 +02:00
parent ff9e712901
commit 274f09b9aa

View file

@ -42,6 +42,16 @@ chown $app -R /var/log/$app
yunohost service add $app --description="Simple bookmark manager" --log="/var/log/$app/$app.log"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
#=================================================
# START SYSTEMD SERVICE
#=================================================