浏览代码

AMBARI-19797. ambari-server SuSE11 init script not working in certain environments (aonishuk)

Andrew Onishuk 8 年之前
父节点
当前提交
10b2281ece
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      ambari-agent/etc/init.d/ambari-agent
  2. 1 1
      ambari-server/sbin/ambari-server

+ 1 - 0
ambari-agent/etc/init.d/ambari-agent

@@ -21,6 +21,7 @@
 
 
 ### BEGIN INIT INFO
 ### BEGIN INIT INFO
 # Provides:          ambari-agent
 # Provides:          ambari-agent
+# Required-Start:    $local_fs $remote_fs $network
 # Required-Start:
 # Required-Start:
 # Required-Stop:
 # Required-Stop:
 # Default-Start:     2 3 4 5
 # Default-Start:     2 3 4 5

+ 1 - 1
ambari-server/sbin/ambari-server

@@ -21,7 +21,7 @@
 
 
 ### BEGIN INIT INFO
 ### BEGIN INIT INFO
 # Provides:          ambari-server
 # Provides:          ambari-server
-# Required-Start:    $ALL
+# Required-Start:    $local_fs $remote_fs $network
 # Required-Start:
 # Required-Start:
 # Required-Stop:
 # Required-Stop:
 # Default-Start:     2 3 4 5
 # Default-Start:     2 3 4 5