Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/tlsservd
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
#!/bin/sh | |||||
# | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: tlsservd | |||||
# REQUIRE: NETWORKING root mountcritlocal sysctl | |||||
# BEFORE: nfsd | |||||
# KEYWORD: nojail shutdown | |||||
. /etc/rc.subr | |||||
name="tlsservd" | |||||
desc="NFS over TLS server side daemon" | |||||
rcvar="tlsservd_enable" | |||||
command="/usr/sbin/rpc.${name}" | |||||
pidfile="/var/run/rpc.${name}.pid" | |||||
required_files="/etc/rpc.tlsservd/cert.pem /etc/rpc.tlsservd/certkey.pem" | |||||
extra_commands="reload" | |||||
load_rc_config $name | |||||
run_rc_command "$1" |