Skip to content

Commit

Permalink
restart scanning hourly
Browse files Browse the repository at this point in the history
  • Loading branch information
William C Bonner committed Oct 9, 2024
1 parent ffd397c commit 405e1d8
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 231 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (POLICY CMP0115)
endif()

project (VictronBTLELogger
VERSION 3.20240912.0
VERSION 3.20241008.0
DESCRIPTION "Log Victron Direct Bluetooth LE messages and graph battery states"
HOMEPAGE_URL https://github.com/wcbonner/VictronBTLELogger
)
Expand Down
9 changes: 4 additions & 5 deletions postinst
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/bin/sh
# POSTINST script for victronbtlelogger

echo "\033[36m HI I'M A POSTINST SCRIPT `date --rfc-3339='seconds'` \033[39m"
echo "\033[36m HI I'M A POSTINST SCRIPT `date --rfc-3339='seconds'` running as \033[91m`whoami`\033[39m"
adduser --system --ingroup www-data victronbtlelogger
mkdir --mode 0775 --parents /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
chown --recursive victronbtlelogger:www-data /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
chmod --recursive 0664 /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
chmod 0775 /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
mkdir --verbose--mode 0755 --parents /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
chown --changes --recursive victronbtlelogger:www-data /var/log/victronbtlelogger /var/cache/victronbtlelogger /var/www/html/victronbtlelogger
chmod --changes --recursive 0644 /var/log/victronbtlelogger/* /var/cache/victronbtlelogger/* /var/www/html/victronbtlelogger/*
systemctl daemon-reload
systemctl enable victronbtlelogger.service
systemctl start victronbtlelogger.service
Expand Down
Loading

0 comments on commit 405e1d8

Please sign in to comment.