Browse Source

[config] pre-exec auto quit sqlite3

Maxime Alves LIRMM@home 3 years ago
parent
commit
5befdf15e4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/pre-exec.sh

+ 1
- 1
config/pre-exec.sh View File

@@ -7,7 +7,7 @@
7 7
 [ ! -d /opt/pyHeatpump/ ] && echo "Missing /opt/pyheatpump/" && exit 1;
8 8
 
9 9
 # Database initialization
10
-sqlite3 -init /opt/pyHeatpump/db/pyheatpump.sql /run/pyheatpump/pyheatpump.sqlite3 \
10
+sqlite3 -init /opt/pyHeatpump/db/pyheatpump.sql /run/pyheatpump/pyheatpump.sqlite3 .quit \
11 11
     || (echo "Failed to initialize database" && exit 1);
12 12
 
13 13
 # Default configuration setup

Loading…
Cancel
Save