closed TG-1; git was inited;

This commit is contained in:
2026-05-04 08:13:38 +03:00
commit bcf20fcb04
105 changed files with 6592 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
[Unit]
Description=ais_hub AIS/GPS/radio telemetry aggregation service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=ais_hub
Group=ais_hub
ExecStart=/usr/bin/python3 -m ais_hub --config /etc/ais_hub/config.yaml
Restart=on-failure
RestartSec=3
KillSignal=SIGTERM
TimeoutStopSec=15
LimitNOFILE=4096
# Hardening (embedded Linux friendly defaults; remove if they conflict with
# UART device access).
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/ais_hub /var/log/ais_hub
# For UART access, user must be in the serial/dialout group or a udev rule
# should grant access to /dev/ttyS1.
[Install]
WantedBy=multi-user.target