1 2 3 4
#!/bin/sh exec 2>&1 stat_runit "Starting APC UPS Daemon" exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf