1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00
This commit is contained in:
Krakinou 2018-12-12 23:33:22 +01:00
parent 99cb277227
commit 5959c02630

View file

@ -138,6 +138,7 @@ chown -R $app:$app /var/log/$app
#=================================================
#we need to start and stop the service so that initial app.db file is created and that we can set default data
systemctl start $app
sleep 5s
systemctl stop $app
sqlite3 $final_path/app.db "UPDATE settings SET config_calibre_dir=\"$calibre_dir\" WHERE ID=1"
sqlite3 $final_path/app.db "UPDATE settings SET config_port=$port WHERE ID=1"