Browse Source

copy unit and sql file at install

nas 3 years ago
parent
commit
589de13d45
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      staging/dev/INSTALL

+ 4
- 0
staging/dev/INSTALL View File

@@ -27,6 +27,10 @@ echo 'pip3 install --upgrade git+https://git.yannweb.net/cli/pyHeatpump.git' > /
27 27
 chmod +x /var/lib/pyheatpump/pyheatpump_upgrade.sh
28 28
 /var/lib/pyheatpump/pyheatpump_upgrade.sh
29 29
 
30
+cp db/*.sql /var/lib/pyheatpump/
31
+cp db/*.service /var/lib/pyheatpump/
32
+cp db/*.timer /var/lib/pyheatpump/
33
+
30 34
 sqlite3 -init /var/lib/pyheatpump/pyheatpump.sql /var/lib/pyheatpump/pyheatpump.sqlite3
31 35
 
32 36
 cat << EOF > /var/lib/pyheatpump/pyheatpump.ini

Loading…
Cancel
Save