Test env NATS cluster cut-over
This commit is contained in:
commit
3eaad04d7b
14 changed files with 367 additions and 0 deletions
16
systemd/nats-server.service
Normal file
16
systemd/nats-server.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=NATS JetStream (Verae cluster node)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=nats
|
||||
Group=nats
|
||||
ExecStart=/usr/local/bin/nats-server -c /etc/nats/nats.conf
|
||||
LimitNOFILE=65536
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue