Skip to content

Instantly share code, notes, and snippets.

@nakal

nakal/phabricator_aphlict

Last active Jan 11, 2020
Embed
What would you like to do?
#!/bin/sh
#
# $FreeBSD$
# PROVIDE: phabricator_aphlict
# REQUIRE: phabricator_phd
# KEYWORD: shutdown
. /etc/rc.subr
name=phabricator_aphlict
rcvar=phabricator_aphlict_enable
load_rc_config $name
: ${phabricator_aphlict_enable="NO"}
: ${phabricator_aphlict_user="phd"}
: ${phabricator_aphlict_group="phd"}
PATH=$PATH:/usr/local/bin
command="/usr/local/lib/php/phabricator/bin/aphlict"
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