mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
16 lines
294 B
Desktop File
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
|