From 22c2f91d54fa3c61f0947c5cd2732517358a0914 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2017 12:25:57 +0200 Subject: Add FreeBSD rc.d script --- etc/bootstrap/bbot-rc-d | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 etc/bootstrap/bbot-rc-d (limited to 'etc') diff --git a/etc/bootstrap/bbot-rc-d b/etc/bootstrap/bbot-rc-d new file mode 100644 index 0000000..7204721 --- /dev/null +++ b/etc/bootstrap/bbot-rc-d @@ -0,0 +1,14 @@ +#!/bin/sh + +# REQUIRE: LOGIN + +. /etc/rc.subr + +name=bbot +command=/home/build/bbot-bootstrap.sh +command_interpreter=/bin/sh +bbot_user=build +start_cmd="/usr/sbin/daemon -u $bbot_user -t $name $command 2>&1 | /usr/bin/logger -p local1.info" + +load_rc_config $name +run_rc_command "$1" -- cgit v1.1