Skip to content

Instantly share code, notes, and snippets.

@nakal
Last active January 11, 2020 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakal/f0d109f5562b667fde95 to your computer and use it in GitHub Desktop.
Save nakal/f0d109f5562b667fde95 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# $FreeBSD$
# PROVIDE: phabricator_sshd
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name=phabricator_sshd
rcvar=phabricator_sshd_enable
load_rc_config $name
: ${phabricator_sshd_enable="NO"}
: ${phabricator_sshd_pidfile="/var/run/${name}.pid"}
pidfile=$phabricator_sshd_pidfile
PATH=$PATH:/usr/local/bin
command="/usr/sbin/sshd"
command_args="-f /root/bin/phabricator/sshd_config.phabricator"
run_rc_command $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment