Skip to content

Instantly share code, notes, and snippets.

@nakal

nakal/phabricator_sshd

Last active Jan 11, 2020
Embed
What would you like to do?
#!/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