tile38/vendor/github.com/nats-io/gnatsd/util/gnatsd.service

17 lines
287 B
SYSTEMD
Raw Normal View History

2018-08-07 22:24:46 +03:00
[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