kunlang_video/deploy/systemd/vehicle-video-srs-record.service.in

18 lines
348 B
SYSTEMD
Raw Permalink Normal View History

2026-05-09 10:51:10 +08:00
[Unit]
Description=Vehicle Video SRS Record Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=@SERVICE_USER@
Group=@SERVICE_GROUP@
WorkingDirectory=@INSTALL_DIR@/srs
ExecStart=@INSTALL_DIR@/srs/bin/srs -c conf/record.conf
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target