fix: complete caller analytics reliability remediation

This commit is contained in:
hectorzhao
2026-09-01 10:03:29 +08:00
parent a116926867
commit 7f8825cf3a
25 changed files with 850 additions and 202 deletions
@@ -0,0 +1,21 @@
[Unit]
Description=LisgloSIPS isolated caller analytics Redis
After=network.target
[Service]
Type=notify
User=redis
Group=redis
RuntimeDirectory=redis-caller-analytics
RuntimeDirectoryMode=0750
ExecStart=/usr/bin/redis-server /etc/redis/caller-analytics.conf --supervised systemd
ExecStop=/bin/kill -s TERM $MAINPID
Restart=on-failure
RestartSec=2s
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/var/lib/redis-caller-analytics /var/log/redis /run/redis-caller-analytics
[Install]
WantedBy=multi-user.target