freenas-proxmox/tests/stubs/pveproxy

8 lines
265 B
Bash

#!/bin/bash
# Stub for the real /usr/bin/pveproxy PVE::Daemon wrapper.
# Real binary supports: start, stop, restart, reload, status, help.
case "$1" in
start|stop|restart|reload|status) exit 0 ;;
*) echo "pveproxy: unknown command '$1'" >&2; exit 1 ;;
esac