#!/bin/sh # # $FreeBSD: head/security/greenbone-security-assistant/files/gsad.in 411296 2016-03-17 17:45:45Z tijl $ # # PROVIDE: gsad # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following to /etc/rc.conf[.local] to enable this service # # gsad_enable="YES" # . /etc/rc.subr name=gsad rcvar=gsad_enable command="%%PREFIX%%/sbin/gsad" pidfile=/var/run/gsad.pid : ${gsad_enable=NO} load_rc_config $name run_rc_command "$1"