Updated to new naming [ci skip]

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2019-06-07 11:12:27 -07:00
parent e12e56aef4
commit 7a7ea66e1f

15
util/nats-server.service Normal file
View File

@@ -0,0 +1,15 @@
[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