summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/network-ups-tools/run.upsmon
blob: bbdc68d57a9b04827d8d21786706121b1b53055c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

svwaitup 3 /var/service/upsdrvctl /var/service/upsd || exit 1

    stat_runit "Starting UPS Monitor Daemon"
      exec /usr/bin/upsmon -D &> /dev/null