summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-05-08 12:09:59 +0000
committerMichael Imhof <tantive@gentoo.org>2003-05-08 12:09:59 +0000
commitcec843e227c27fc556236665c2090bbf22faab2d (patch)
tree815c6edfdcd5c8eaed1ae1b3e349fc734fcf9dda /sys-cluster
parentadd tk-8.4.x fix (diff)
downloadhistorical-cec843e227c27fc556236665c2090bbf22faab2d.tar.gz
historical-cec843e227c27fc556236665c2090bbf22faab2d.tar.bz2
historical-cec843e227c27fc556236665c2090bbf22faab2d.zip
Forgot one file...
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmosix-user/files/openmosixcollector.init29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-cluster/openmosix-user/files/openmosixcollector.init b/sys-cluster/openmosix-user/files/openmosixcollector.init
new file mode 100644
index 000000000000..2b4b380005c2
--- /dev/null
+++ b/sys-cluster/openmosix-user/files/openmosixcollector.init
@@ -0,0 +1,29 @@
+#! /bin/sh
+
+PATH=$PATH:/usr/local/bin
+
+case "$1" in
+ start)
+ echo -n "starting openmosixcollector"
+ openmosixcollector -d
+ ;;
+ stop)
+ echo -n "stopping openmosixcollector"
+ openmosixcollector -k
+ ;;
+ checkpoint)
+ echo -n "checkpointing openmosixcollector"
+ openmosixcollector -c
+ ;;
+ restart)
+ echo -n "restarting openmosixcollector"
+ openmosixcollector -r
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|checkpoint|restart}"
+ exit 1
+ ;;
+esac
+
+
+