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.
15 lines
353 B
Desktop File
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
|