void-packages/srcpkgs/network-ups-tools/files/upsd/run

7 lines
183 B
Bash
Executable File

#!/bin/sh
exec 2>&1
# Network UPS Tools - information server
# upsd will run in the foreground and prints information on stdout
install -d -m 0770 -o nut -g nut /run/ups
exec upsd -D