freebsd-ports/audio/mpdscribble/files/mpdscribble.in
Larry Rosenman 33bf1a1d42 [revive] audio/mpdscribble: fix for unfetchable
Revive port, fix ${PORTSDIR} for ftp/curl, give MAINTAINER'ship
to submitter.

PR:		213160
Submitted by:	freebsdbugs@tungol.org
Approved by:	adamw (mentor, implicit)
2017-05-01 23:49:34 +00:00

26 lines
415 B
Bash

#!/bin/sh
#
# PROVIDE: mpdscribble
# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable mpdscribble:
#
#mpdscribble_enable="YES"
. /etc/rc.subr
name=mpdscribble
rcvar=mpdscribble_enable
command=%%PREFIX%%/bin/mpdscribble
load_rc_config $name
: ${mpdscribble_enable="NO"}
: ${mpdscribble_user="nobody"}
command_args="--daemon-user ${mpdscribble_user}"
run_rc_command "$1"