void-packages/srcpkgs/upmpdcli/files/upmpdcli/run

5 lines
114 B
Bash

#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec chpst -u _upmpdcli upmpdcli ${OPTS:- -c /etc/upmpdcli.conf} 2>&1