Skip to content

Instantly share code, notes, and snippets.

@nakal
Last active January 11, 2020 22:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nakal/3ea4a2c3be9985fb93a4 to your computer and use it in GitHub Desktop.
#!/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