Files
nats-server/util/gnatsd.service
2019-01-17 11:17:05 +08:00

17 lines
299 B
Desktop File

[Unit]
Description=NATS messaging server
After=network.target ntp.service
[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