Add .deb agent package with systemd timer and interactive setup

This commit is contained in:
2026-07-16 14:28:12 +07:00
parent 21566c1f1e
commit 53a087fbc3
10 changed files with 261 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh
set -e
systemctl daemon-reload 2>/dev/null || true
systemctl enable info-user-agent.timer 2>/dev/null || true
systemctl start info-user-agent.timer 2>/dev/null || true
cat <<EOF
========================================
InfoUser Agent установлен!
Настройте сервер и токен:
sudo info-user-agent-setup
Статус таймера:
systemctl status info-user-agent.timer
========================================
EOF