Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/freewnn/files/
Date: Thu, 20 Jul 2017 13:53:12
Message-Id: 1500558750.e76e59c18b6dc68d16629e96cbb456f10425398b.hattya@gentoo
1 commit: e76e59c18b6dc68d16629e96cbb456f10425398b
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 20 13:52:30 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 20 13:52:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76e59c1
7
8 app-i18n/freewnn: add init script
9
10 Gentoo-Bug: 625568
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 app-i18n/freewnn/files/freewnn.confd-r1 | 1 +
15 app-i18n/freewnn/files/freewnn.initd-r1 | 17 +++++++++++++++++
16 2 files changed, 18 insertions(+)
17
18 diff --git a/app-i18n/freewnn/files/freewnn.confd-r1 b/app-i18n/freewnn/files/freewnn.confd-r1
19 new file mode 100644
20 index 00000000000..c64e27196d5
21 --- /dev/null
22 +++ b/app-i18n/freewnn/files/freewnn.confd-r1
23 @@ -0,0 +1 @@
24 +FREEWNN_OPTS=""
25
26 diff --git a/app-i18n/freewnn/files/freewnn.initd-r1 b/app-i18n/freewnn/files/freewnn.initd-r1
27 new file mode 100644
28 index 00000000000..57fd448f801
29 --- /dev/null
30 +++ b/app-i18n/freewnn/files/freewnn.initd-r1
31 @@ -0,0 +1,17 @@
32 +#!/sbin/openrc-run
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +command="/usr/sbin/jserver"
37 +command_args="${FREEWNN_OPTS}"
38 +
39 +depend() {
40 + use logger
41 + need net
42 +}
43 +
44 +stop() {
45 + ebegin "Stopping ${name:-${RC_SVCNAME}}"
46 + /usr/sbin/wnnkill
47 + eend ${?}
48 +}