summaryrefslogtreecommitdiff
path: root/sysutils/salt/files/salt_syndic.sh
blob: 246d97b5ac8d0a6b31f36606897cf37164cfc59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: salt_syndic.sh,v 1.1 2016/02/16 00:00:08 khorben Exp $
#

# PROVIDE: salt_syndic
# REQUIRE: DAEMON
# KEYWORD: shutdown

. /etc/rc.subr

name="salt_syndic"
rcvar=$name
command="@PREFIX@/bin/salt-syndic"
command_args="-d"
command_interpreter=@PYTHON@
required_files="@PKG_SYSCONFDIR@/master @PKG_SYSCONFDIR@/minion"

load_rc_config $name
run_rc_command "$1"