Skip to content

Instantly share code, notes, and snippets.

@nakal

nakal/phabricator_phd

Last active Jan 11, 2020
Embed
What would you like to do?
#!/bin/sh
#
# $FreeBSD$
# PROVIDE: phabricator_phd
# REQUIRE: DAEMON mysql
# KEYWORD: shutdown
. /etc/rc.subr
name=phabricator_phd
rcvar=phabricator_phd_enable
load_rc_config $name
: ${phabricator_phd_enable="NO"}
PATH=$PATH:/usr/local/bin
command="/usr/local/lib/php/phabricator/bin/phd"
case $1 in
*start)
command_args="start"
;;
*stop)
command_args="stop"
;;
esac
run_rc_command $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment