mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-09-26 16:27:56 +03:00
* 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
13 lines
303 B
Bash
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
|