mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
60s
This commit is contained in:
parent
c41b6e0da7
commit
0857922610
1 changed files with 3 additions and 3 deletions
|
@ -138,15 +138,15 @@ 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 required on low spec like raspberryPi
|
||||
sleep 5s
|
||||
sleep 60s
|
||||
systemctl stop $app
|
||||
|
||||
#set database settings as per conf file
|
||||
conf=$(. <(echo -e echo $(<../conf/init_calibre_db_settings)))
|
||||
#sqlite3 ./app.db "UPDATE settings SET $conf WHERE ID=1"
|
||||
sqlite3 ./app.db "UPDATE settings SET $conf WHERE ID=1"
|
||||
|
||||
conf=$(. <(echo -e echo $(<../conf/init_calibre_db_user)))
|
||||
#sqlite3 $final_path/app.db "UPDATE user SET $conf WHERE ID=1"
|
||||
sqlite3 $final_path/app.db "UPDATE user SET $conf WHERE ID=1"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue