commit:     e76e59c18b6dc68d16629e96cbb456f10425398b
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 13:52:30 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 13:52:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76e59c1

app-i18n/freewnn: add init script

Gentoo-Bug: 625568

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/freewnn/files/freewnn.confd-r1 |  1 +
 app-i18n/freewnn/files/freewnn.initd-r1 | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/app-i18n/freewnn/files/freewnn.confd-r1 
b/app-i18n/freewnn/files/freewnn.confd-r1
new file mode 100644
index 00000000000..c64e27196d5
--- /dev/null
+++ b/app-i18n/freewnn/files/freewnn.confd-r1
@@ -0,0 +1 @@
+FREEWNN_OPTS=""

diff --git a/app-i18n/freewnn/files/freewnn.initd-r1 
b/app-i18n/freewnn/files/freewnn.initd-r1
new file mode 100644
index 00000000000..57fd448f801
--- /dev/null
+++ b/app-i18n/freewnn/files/freewnn.initd-r1
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/jserver"
+command_args="${FREEWNN_OPTS}"
+
+depend() {
+       use logger
+       need net
+}
+
+stop() {
+       ebegin "Stopping ${name:-${RC_SVCNAME}}"
+       /usr/sbin/wnnkill
+       eend ${?}
+}

Reply via email to