F7_HPB/systemd/nats-server.service
2026-02-17 23:38:55 +00:00

16 lines
294 B
Desktop File

[Unit]
Description=NATS Server
After=network.target ntp.service
[Service]
PrivateTmp=true
Type=simple
ExecStart=/usr/sbin/nats-server -c /etc/nats-server.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s SIGINT $MAINPID
User=nats
Group=nats
[Install]
WantedBy=multi-user.target