ananke/deploy/systemd/hecate.service

18 lines
376 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Hecate UPS Monitor and Auto Shutdown Orchestrator
Wants=network-online.target
After=network-online.target
ConditionPathExists=/etc/hecate/hecate.yaml
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/hecate daemon --config /etc/hecate/hecate.yaml
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target