aboutsummaryrefslogtreecommitdiff
path: root/sysutils/daedalus/files/daedalus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/daedalus/files/daedalus.sh')
-rw-r--r--sysutils/daedalus/files/daedalus.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/sysutils/daedalus/files/daedalus.sh b/sysutils/daedalus/files/daedalus.sh
deleted file mode 100644
index aa832f041513..000000000000
--- a/sysutils/daedalus/files/daedalus.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#
-# PROVIDE: daedalus
-# REQUIRE: DAEMON
-#
-# Add the following line to /etc/rc.conf to enable daedalus:
-# daedalus_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable daedalus
-# daedalus_flags (str): Set to "-c %%PREFIX%%/etc/daedalus/daedalus.xml -t %%PREFIX%%/etc/daedalus/templates.xml" by default.
-# Extra flags passed to start command
-#
-. /etc/rc.subr
-
-name="daedalus"
-rcvar=daedalus_enable
-
-command="%%PREFIX%%/bin/daedalus.rb"
-pidfile="/var/run/daedalus.pid"
-command_interpreter="%%RUBY_WITHOUT_SUFFIX%%"
-required_files=%%PREFIX%%/etc/daedalus/daedalus.xml
-
-[ -z "$daedalus_enable" ] && daedalus_enable="NO"
-[ -z "$daedalus_flags" ] && daedalus_flags="-c %%PREFIX%%/etc/daedalus/daedalus.xml -t %%PREFIX%%/etc/daedalus/templates.xml"
-
-load_rc_config $name
-
-extra_commands="reload"
-run_rc_command "$1"