summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/service/files/ansible.rc
blob: ec77d521cbc718bafd44c7cfe0b1020e327133f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# PROVIDE: ansible_test_service
# REQUIRE: FILESYSTEMS devfs
# BEFORE:  LOGIN
# KEYWORD: nojail shutdown

. /etc/rc.subr

name="ansible_test_service"
rcvar="ansible_test_service_enable"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
extra_commands=reload
load_rc_config $name
run_rc_command "$1"