From 9f7c9f2f31acd7bc544dd988af1c8c2fe63ec504 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 5 Aug 2026 23:14:29 -0500 Subject: Initial commit of skiff scaffolding --- internal/tmpl/rc.d.tmpl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 internal/tmpl/rc.d.tmpl (limited to 'internal/tmpl/rc.d.tmpl') diff --git a/internal/tmpl/rc.d.tmpl b/internal/tmpl/rc.d.tmpl new file mode 100644 index 0000000..db940fd --- /dev/null +++ b/internal/tmpl/rc.d.tmpl @@ -0,0 +1,17 @@ +#!/bin/sh +# +# PROVIDE: {{.Name}} +# REQUIRE: LOGIN +# KEYWORD: shutdown + +. /etc/rc.subr + +name="{{.Name}}" +rcvar="{{.Name}}_enable" + +pidfile="/var/run/${name}.pid" +command="/usr/sbin/daemon" +command_args="-P ${pidfile} -r -t {{.Name}} /app/current/app" + +load_rc_config $name +run_rc_command "$1" -- cgit v1.3