diff options
Diffstat (limited to 'games-rpg/mangos/files/9999/mangos-worldd')
-rwxr-xr-x | games-rpg/mangos/files/9999/mangos-worldd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games-rpg/mangos/files/9999/mangos-worldd b/games-rpg/mangos/files/9999/mangos-worldd index d7e6143a7d96..accc0bcfb3f6 100755 --- a/games-rpg/mangos/files/9999/mangos-worldd +++ b/games-rpg/mangos/files/9999/mangos-worldd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd,v 1.1 2008/10/04 07:38:26 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd,v 1.2 2009/02/14 14:14:25 trapni Exp $ depend() { need net @@ -10,14 +10,14 @@ depend() { start() { ebegin "Starting MaNGOS server" - start-stop-daemon --start --background -c mangos --pidfile /var/run/mangos/world.pid \ - --make-pidfile --exec /usr/bin/mangos-worldd -- -c /etc/mangos/mangosd.conf + start-stop-daemon --start --background -c mangos --pidfile /var/run/mangos-world.pid \ + --make-pidfile --exec /opt/mangos/bin/mangos-worldd -- -c /opt/mangos/etc/mangosd.conf eend $? } stop() { ebegin "Stopping MaNGOS server" - start-stop-daemon --stop -c mangos --exec /usr/share/mangos/bin/mangos-worldd \ - --pidfile /var/run/mangos/world.pid + start-stop-daemon --stop -c mangos --exec /opt/mangos/bin/mangos-worldd \ + --pidfile /var/run/mangos-world.pid eend $? } |