pulse-lets-go/deploy/pulse-lets-go.service
2026-06-25 14:27:41 +07:00

31 lines
665 B
Desktop File

[Unit]
Description=pulse-lets-go — Telephone Load Balancer
Documentation=https://github.com/pulse-lets-go
After=network.target nats.service
Wants=nats.service
[Service]
Type=simple
User=pulse
Group=pulse
ExecStart=/usr/local/bin/pulse-lets-go
WorkingDirectory=/usr/local/share/pulse-lets-go
Environment=PULSE_DATA_DIR=/etc/pulse-lets-go
Restart=always
RestartSec=5
# Безопасность
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/etc/pulse-lets-go /var/log/pulse-lets-go
# Логирование
StandardOutput=journal
StandardError=journal
SyslogIdentifier=pulse-lets-go
[Install]
WantedBy=multi-user.target