aboutsummaryrefslogtreecommitdiff
path: root/japanese/skkserv/files/skkserv.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/skkserv/files/skkserv.in')
-rw-r--r--japanese/skkserv/files/skkserv.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/japanese/skkserv/files/skkserv.in b/japanese/skkserv/files/skkserv.in
new file mode 100644
index 000000000000..f2bbe584a817
--- /dev/null
+++ b/japanese/skkserv/files/skkserv.in
@@ -0,0 +1,18 @@
+#!/bin/sh
+# $FreeBSD$
+#
+# PROVIDE: skkserv
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name=skkserv
+rcvar=skkserv_enable
+command=%%PREFIX%%/sbin/skkserv
+
+: ${skkserv_flags:="-a 127.0.0.1 -u skkserv"}
+
+load_rc_config ${name}
+run_rc_command $1