master-zapier-plan-draft/packages/verae-keep/systemd/verae-keep-guard.service
George Lambert baaf1c2275
Some checks are pending
offline / test (push) Waiting to run
Add verae-keep: host supervisor with watch+guard on NS1.
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.
2026-09-11 19:25:11 -04:00

15 lines
353 B
Desktop File

[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