mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
sleep
This commit is contained in:
parent
99cb277227
commit
5959c02630
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue