Add verae-keep: host supervisor with watch+guard on NS1.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Restarts crashed units unless the admin console paused or stopped them. Fleet writes per-instance intent.json. Tested on 138: crash-restart, pause-hold, watch respawn of keep.
This commit is contained in:
parent
2bb3884a1b
commit
baaf1c2275
20 changed files with 1049 additions and 1 deletions
15
packages/verae-keep/systemd/verae-keep-guard.service
Normal file
15
packages/verae-keep/systemd/verae-keep-guard.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Verae keep-alive guard (restarts watch + keep)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=%h/verae-keep
|
||||
Environment=KEEP_UNITS=%h/verae-keep/units.ns1.json
|
||||
Environment=KEEP_STATE=%h/verae-keep/data
|
||||
ExecStart=/usr/bin/bash %h/verae-keep/scripts/guard.sh
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue