33bf1a1d42
Revive port, fix ${PORTSDIR} for ftp/curl, give MAINTAINER'ship to submitter. PR: 213160 Submitted by: freebsdbugs@tungol.org Approved by: adamw (mentor, implicit)
26 lines
415 B
Bash
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"
|