ananke/deploy/systemd/hecate-bootstrap.service

19 lines
465 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Hecate Staged Cluster Bootstrap
Wants=network-online.target
After=network-online.target
ConditionPathExists=/etc/hecate/hecate.yaml
StartLimitIntervalSec=0
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/usr/local/bin/hecate startup --config /etc/hecate/hecate.yaml --execute --force-flux-branch main --auto-peer-failover --peer-wait-seconds 180
Restart=on-failure
RestartSec=30
TimeoutStartSec=1800
[Install]
WantedBy=multi-user.target