Add support check and install updates from GitHub

This commit is contained in:
remittor
2025-12-17 11:28:46 +03:00
parent 565ef66299
commit a5156e0d0c
6 changed files with 665 additions and 10 deletions

12
zapret/script-exec.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Copyright (c) 2024 remittor
LOG_FILE=$1
PID_FILE=$2
shift 2
: > $LOG_FILE
(
exec </dev/null >/dev/null 2>&1
"$@" >> $LOG_FILE 2>&1
) &
echo $! > $PID_FILE
exit 0