cheburcheck/probe/debian/postinst
LowderPlay 63dff075c0
Some checks are pending
Build Rust Application / Linux amd64 (.deb) (push) Waiting to run
Build Rust Application / Linux arm64 (.deb via cross) (push) Waiting to run
Build Rust Application / Windows amd64 (push) Waiting to run
CodeQL Advanced / Analyze (rust) (push) Waiting to run
Build and Publish Docker Images / Build website image (push) Waiting to run
Build and Publish Docker Images / Build frontend image (push) Waiting to run
Build and Publish Docker Images / Deploy (push) Blocked by required conditions
Build Probe / Linux amd64 binary and .deb (push) Waiting to run
Build Probe / Linux arm64 binary, .deb, and OpenWrt packages (push) Waiting to run
Build Probe / Windows amd64 binary (push) Waiting to run
Build Probe / Docker image amd64/arm64 (push) Waiting to run
feat: probe autoupdate (#88)
* feat: autoupdate

* chore: bump version

* feat: publish installer

* fix: standalone builds

* ci: release docs

* fix: windows icmp socket

* docs: windows notice

* docs: remove line breaks
2026-08-29 00:22:08 +05:00

12 lines
303 B
Bash

#!/bin/sh
set -e
if [ "$1" = configure ]; then
systemctl daemon-reload >/dev/null 2>&1 || true
systemctl enable --now cheburprobe-update.timer cheburprobe-update.path >/dev/null 2>&1 || true
if [ -n "${2:-}" ]; then
systemctl try-restart cheburprobe.service >/dev/null 2>&1 || true
fi
fi
exit 0