Files
info-user/agent-deb/DEBIAN/postinst
T

21 lines
468 B
Bash
Executable File

#!/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