mirror of https://github.com/tidwall/tile38.git
17 lines
287 B
SYSTEMD
17 lines
287 B
SYSTEMD
[Unit]
|
|
Description=NATS messaging server
|
|
After=network.target
|
|
|
|
[Service]
|
|
PrivateTmp=true
|
|
Type=simple
|
|
ExecStart=/usr/sbin/gnatsd -c /etc/gnatsd.conf
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s SIGINT $MAINPID
|
|
User=gnatsd
|
|
Group=gnatsd
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|