Files
LowderPlay 63dff075c0 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

13 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