Gentoo Archives: gentoo-commits

From: "Christian Parpart (trapni)" <trapni@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-rpg/mangos/files/9999: mangos-realmd mangos-worldd
Date: Sat, 04 Oct 2008 07:38:30
Message-Id: E1Km1id-0000KT-9g@stork.gentoo.org
1 trapni 08/10/04 07:38:27
2
3 Added: mangos-realmd mangos-worldd
4 Log:
5 initial import
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo x86_64)
7
8 Revision Changes Path
9 1.1 games-rpg/mangos/files/9999/mangos-realmd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/mangos/files/9999/mangos-realmd?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/mangos/files/9999/mangos-realmd?rev=1.1&content-type=text/plain
13
14 Index: mangos-realmd
15 ===================================================================
16 #!/sbin/runscript
17 # Copyright 1999-2008 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-realmd,v 1.1 2008/10/04 07:38:26 trapni Exp $
20
21 depend() {
22 need net
23 use mysql
24 }
25
26 start() {
27 ebegin "Starting MaNGOS Login Server (realmd)"
28 start-stop-daemon --start --background -c mangos --exec /usr/share/mangos/bin/mangos-realmd \
29 --make-pidfile --pidfile /var/run/mangos/realm.pid -- -c /etc/mangos/realmd.conf
30 eend $?
31 }
32
33 stop() {
34 ebegin "Stopping MaNGOS Login Server (realmd)"
35 start-stop-daemon --stop -c mangos --exec /usr/share/mangos/bin/mangos-realmd \
36 --pidfile /var/run/mangos/realm.pid
37 eend $?
38 }
39
40
41
42 1.1 games-rpg/mangos/files/9999/mangos-worldd
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd?rev=1.1&content-type=text/plain
46
47 Index: mangos-worldd
48 ===================================================================
49 #!/sbin/runscript
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd,v 1.1 2008/10/04 07:38:26 trapni Exp $
53
54 depend() {
55 need net
56 use net
57 }
58
59 start() {
60 ebegin "Starting MaNGOS server"
61 start-stop-daemon --start --background -c mangos --pidfile /var/run/mangos/world.pid \
62 --make-pidfile --exec /usr/bin/mangos-worldd -- -c /etc/mangos/mangosd.conf
63 eend $?
64 }
65
66 stop() {
67 ebegin "Stopping MaNGOS server"
68 start-stop-daemon --stop -c mangos --exec /usr/share/mangos/bin/mangos-worldd \
69 --pidfile /var/run/mangos/world.pid
70 eend $?
71 }