aboutsummaryrefslogblamecommitdiffstats
path: root/roles/rc/templates/rc_bsd.j2
blob: b64181b6a1b79202dc892ab4ffc87c198ad98487 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                          
{% if ansible_distribution == "OpenBSD" %}
#!/bin/ksh
{% else %}
#!/bin/ksh
{% endif %}
#
# managed by Ansible

daemon="{{ rc_cmd }}"
daemon_flags="{{ rc_args }}"
daemon_user="{{ rc_user }}"

. /etc/rc.d/rc.subr

rc_cmd $1
remember that computers suck.