freenas-proxmox/tests/stubs/pve-ha-crm

10 lines
393 B
Bash
Executable File

#!/bin/bash
# Stub for the real /usr/sbin/pve-ha-crm PVE::HA daemon binary.
# Unlike pvedaemon/pveproxy/pvestatd, the real binary does NOT support
# "restart" — only start, stop, status, help. This must be restarted via
# systemctl instead (see systemctl stub). Ref: #179.
case "$1" in
start|stop|status|help) exit 0 ;;
*) echo "pve-ha-crm: unknown command '$1'" >&2; exit 1 ;;
esac