xref: /freebsd/libexec/rc/rc.d/tlsservd (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1#!/bin/sh
2#
3#
4
5# PROVIDE: tlsservd
6# REQUIRE: NETWORKING root mountcritlocal sysctl
7# BEFORE: nfsd
8# KEYWORD: nojailvnet shutdown
9
10. /etc/rc.subr
11
12name="tlsservd"
13desc="NFS over TLS server side daemon"
14rcvar="tlsservd_enable"
15command="/usr/sbin/rpc.${name}"
16
17pidfile="/var/run/rpc.${name}.pid"
18required_files="/etc/rpc.tlsservd/cert.pem /etc/rpc.tlsservd/certkey.pem"
19extra_commands="reload"
20
21
22load_rc_config $name
23
24run_rc_command "$1"
25