#!/usr/bin/env bash # `packetstation doctor` on this VM, run the way the services run (see ps-run.sh). # Installed as /usr/local/sbin/ps-doctor. Run as root: sudo ps-doctor [--skip visual,mfiles,ldap,smtp] # On production the VISUAL check connects to VISUAL production, read-only, as visualkit_ro. set -euo pipefail PS_RUN="${PS_RUN:-/usr/local/sbin/ps-run}" exec "$PS_RUN" doctor "$@"