From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-puzzle/londonlaw/files: londonlaw.confd londonlaw.rc |
Date: | Sun, 24 Aug 2008 06:36:09 |
Message-Id: | E1KX9Co-0002kv-Fy@stork.gentoo.org |
1 | mr_bones_ 08/08/24 06:36:06 |
2 | |
3 | Added: londonlaw.confd londonlaw.rc |
4 | Log: |
5 | dedicated support and sed patch from mattenklicker@×××.net via bug #235326 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-puzzle/londonlaw/files/londonlaw.confd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/londonlaw/files/londonlaw.confd?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/londonlaw/files/londonlaw.confd?rev=1.1&content-type=text/plain |
13 | |
14 | Index: londonlaw.confd |
15 | =================================================================== |
16 | #run londonlaw on port 7921 (default) |
17 | LONDONLAW_PORT="7921" |
18 | |
19 | |
20 | |
21 | 1.1 games-puzzle/londonlaw/files/londonlaw.rc |
22 | |
23 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/londonlaw/files/londonlaw.rc?rev=1.1&view=markup |
24 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/londonlaw/files/londonlaw.rc?rev=1.1&content-type=text/plain |
25 | |
26 | Index: londonlaw.rc |
27 | =================================================================== |
28 | #!/sbin/runscript |
29 | |
30 | depend() { |
31 | need net |
32 | } |
33 | |
34 | start() { |
35 | ebegin "Starting londonlaw server" |
36 | start-stop-daemon --start --pidfile /var/run/london-server.pid \ |
37 | --user GAMES_USER_DED --background --stdout /var/log/londonlaw.log \ |
38 | --stderr /var/log/londonlaw.log --make-pidfile \ |
39 | --exec GAMES_BINDIR/london-server -- -p $LONDONLAW_PORT |
40 | eend $? |
41 | } |
42 | |
43 | stop() { |
44 | ebegin "Stopping londonlaw server" |
45 | start-stop-daemon --stop --pidfile /var/run/london-server.pid \ |
46 | --exec GAMES_BINDIR/london-server |
47 | eend $? |
48 | } |