From 3f150dc61d4f04919c16220baad1e8b48824ed5e Mon Sep 17 00:00:00 2001 From: binary Date: Sun, 22 Nov 2020 21:12:31 +0100 Subject: Draft for rc on freebsd. --- roles/rc/templates/rc_freebsd.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/rc/templates/rc_freebsd.j2 (limited to 'roles') diff --git a/roles/rc/templates/rc_freebsd.j2 b/roles/rc/templates/rc_freebsd.j2 new file mode 100644 index 0000000..30f1c0a --- /dev/null +++ b/roles/rc/templates/rc_freebsd.j2 @@ -0,0 +1,11 @@ +#!/bin/ksh +# +# managed by Ansible + +daemon="{{ rc_cmd }}" +daemon_flags="{{ rc_args }}" +daemon_user="{{ rc_user }}" + +. /etc/rc.d/rc.subr + +rc_cmd $1 -- cgit v1.2.3