[pypy-svn] r36246 - pypy/dist/pypy/tool/build/bin
guido at codespeak.net
guido at codespeak.net
Mon Jan 8 12:24:09 CET 2007
Author: guido
Date: Mon Jan 8 12:24:07 2007
New Revision: 36246
Added:
pypy/dist/pypy/tool/build/bin/gentoo_init.d (contents, props changed)
Log:
(cfbolz, guido): init.d script for the meta server (Gentoo specific)
Added: pypy/dist/pypy/tool/build/bin/gentoo_init.d
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/tool/build/bin/gentoo_init.d Mon Jan 8 12:24:07 2007
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+
+CMD=/opt/pypy-dist/pypy/tool/build/bin/server
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting PyPy meta server"
+ start-stop-daemon --start --quiet --exec $CMD
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping PyPy meta server"
+ start-stop-daemon --stop --quiet --exec $CMD
+ eend $?
+}
More information about the pypy-svn
mailing list