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
commit6bdbb25d5bddddfad2508dca8692da1b09f5e716 (patch)
tree99c607e9fe3eed94ab54dbdca5203f2e1d97e150 /sys-cluster/openmosix-user
parentadd tk-8.4.x fix (diff)
downloadgentoo-2-6bdbb25d5bddddfad2508dca8692da1b09f5e716.tar.gz
gentoo-2-6bdbb25d5bddddfad2508dca8692da1b09f5e716.tar.bz2
gentoo-2-6bdbb25d5bddddfad2508dca8692da1b09f5e716.zip
Forgot one file...
Diffstat (limited to 'sys-cluster/openmosix-user')
-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
+
+
+