Files
nats-server/util/nats-server.service
Derek Collison 7a7ea66e1f Updated to new naming [ci skip]
Signed-off-by: Derek Collison <derek@nats.io>
2019-06-07 11:12:27 -07: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