Browse Source

Updated init.d script with chkconfig comment lines, now works on centos5

Torkel Ödegaard 11 năm trước cách đây
mục cha
commit
4cbcee7e15
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      scripts/init.sh

+ 6 - 0
scripts/init.sh

@@ -1,5 +1,11 @@
 #! /usr/bin/env bash
 
+# chkconfig: 2345 80 05
+# description: Grafana web server & backend
+# processname: grafana
+# config: /etc/grafana/grafana.ini
+# pidfile: /var/run/grafana.pid
+
 ### BEGIN INIT INFO
 # Provides:          grafana
 # Required-Start:    $all