directory 'conf' created and moved any config files from 'etc'
[svn/Prometheus-QoS/.git] / conf / prometheus.init
diff --git a/conf/prometheus.init b/conf/prometheus.init
new file mode 100644 (file)
index 0000000..c0f8170
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+EXEFILE=/usr/sbin/prometheus
+
+case "$1" in
+    start)
+        $EXEFILE -n
+        ;;
+    stop)
+        $EXEFILE -f
+        ;;
+    kill)
+        $EXEFILE -9
+        ;;
+    restart|force-reload)
+        $0 stop
+        sleep 1
+        $0 start
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart|force-reload|kill}" >&2
+        exit 1
+        ;;
+esac
This page took 0.090956 seconds and 4 git commands to generate.