S15: sm-leaf health HTTP, verae.sm.* acks, systemd unit
Loopback GET /health, nats-leaf:// rewrite, subject request-reply tests. Do not replace pfc-py-admin. NpeRequired stays on the package surface.
This commit is contained in:
parent
9eed0b1942
commit
f4da7ff446
7 changed files with 158 additions and 11 deletions
14
deploy/pfc-sm-leaf.service
Normal file
14
deploy/pfc-sm-leaf.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=PFC secure-messaging leaf (in-process NATS + hub leaf)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Environment=SM_LEAF_HUB=nats://10.10.10.21:7422
|
||||
Environment=SM_HTTP=127.0.0.1:18783
|
||||
ExecStart=/opt/pfc/bin/sm-leaf -hub nats://10.10.10.21:7422 -http 127.0.0.1:18783
|
||||
Restart=on-failure
|
||||
User=root
|
||||
LimitNOFILE=65535
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue