Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "omnect-device-service"
readme = "README.md"
repository = "https://github.com/omnect/omnect-device-service.git"
version = "0.41.13"
version = "0.41.14"

[dependencies]
actix-server = { version = "2.6", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion systemd/omnect-device-service.exec_stop_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo SERVICE_RESULT=${SERVICE_RESULT}, EXIT_CODE=${EXIT_CODE}, EXIT_STATUS=${EXI
function reboot() {
echo "reboot triggered by ${script}: ${1}"
/usr/sbin/omnect_reboot_reason.sh log swupdate-validation-failed "${1}"
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true
systemctl start reboot.target
}

# for now we only check for ods failed (EXIT_STATUS not 0) and ignore SERVICE_RESULT
Expand Down
2 changes: 1 addition & 1 deletion systemd/update-validation-observer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ update_validation_file="/run/omnect-device-service/omnect_validate_update"
if [ -f ${update_validation_file} ]; then
echo "reboot triggered by ${script}"
/usr/sbin/omnect_reboot_reason.sh log swupdate-validation-failed "overall timeout"
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true
systemctl start reboot.target
fi
Loading