Adding hive-up.tml config file, db auto creation, and a bit of refactoring.

This commit is contained in:
2026-09-05 23:24:08 +02:00
parent 605faa3c19
commit 17cea4b89e
9 changed files with 46 additions and 36 deletions
+12
View File
@@ -0,0 +1,12 @@
[Trigger]
Operation = Upgrade
Operation = Install
Type = Package
Target = linux-kira-lts
Target = linux-kira-virt-lts
Target = linux-kira-server-lts
[Action]
Description = Running custom command after kernel update
When = PostTransaction
Exec = /usr/bin/hive-up cli --update-boot
+6
View File
@@ -0,0 +1,6 @@
type = process
command = /usr/bin/hive-up daemon
stop-command = /usr/bin/hive-up cli --upgrade
depends-on = network.target
logfile = /var/log/dinit/hive-up.log
log-type = file
+12
View File
@@ -0,0 +1,12 @@
# Section (Table) headers
[update]
# Interval between updates check in hours. 0 - no auto check for updates.
check_interval = 58
# Tells hive-up to automatically download updates when awailable.
download_updates = true
# Tells hive-up to automatically perform updates during system reboot
auto_update = false
# In [kernel] section user may specify kernel cmd
# [kernel]
# cmd = ""