aboutsummaryrefslogtreecommitdiff
path: root/japanese/rskkserv/files/rskkserv.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/rskkserv/files/rskkserv.in')
-rw-r--r--japanese/rskkserv/files/rskkserv.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/japanese/rskkserv/files/rskkserv.in b/japanese/rskkserv/files/rskkserv.in
new file mode 100644
index 000000000000..80b91210b540
--- /dev/null
+++ b/japanese/rskkserv/files/rskkserv.in
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: rskkserv
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
+prefix=%%PREFIX%%
+
+rskkserv_enable=${rskkserv_enable:-"NO"}
+rskkserv_flags=${rskkserv_flags:-""}
+
+. /etc/rc.subr
+
+name="rskkserv"
+rcvar=rskkserv_enable
+command="${prefix}/sbin/${name}"
+command_interpreter="${prefix}/bin/ruby"
+pidfile="/var/run/${name}.pid"
+required_files="${prefix}/etc/${name}.conf"
+
+load_rc_config $name
+run_rc_command "$1"