You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/12/03 20:03:08 UTC
incubator-ranger git commit: RANGER-188:Added LSB headers to Ranger
Admin/Usersync init.d scripts
Repository: incubator-ranger
Updated Branches:
refs/heads/master 78940677b -> 326b8a0bf
RANGER-188:Added LSB headers to Ranger Admin/Usersync init.d scripts
Signed-off-by: sneethiraj <sn...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/326b8a0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/326b8a0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/326b8a0b
Branch: refs/heads/master
Commit: 326b8a0bfb1cf243d8dd89ce2471db71dc1a37c0
Parents: 7894067
Author: vperiasamy <vp...@hortonworks.com>
Authored: Mon Nov 24 15:44:38 2014 -0500
Committer: sneethiraj <sn...@apache.org>
Committed: Wed Dec 3 14:02:58 2014 -0500
----------------------------------------------------------------------
embededwebserver/scripts/ranger-admin | 8 ++++++++
unixauthservice/scripts/initd | 9 +++++++++
2 files changed, 17 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/326b8a0b/embededwebserver/scripts/ranger-admin
----------------------------------------------------------------------
diff --git a/embededwebserver/scripts/ranger-admin b/embededwebserver/scripts/ranger-admin
index c7e52aa..b1ef4f5 100755
--- a/embededwebserver/scripts/ranger-admin
+++ b/embededwebserver/scripts/ranger-admin
@@ -15,6 +15,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+### BEGIN INIT INFO
+# Provides: ranger-admin
+# Required-Start: $local_fs $remote_fs $network $named $syslog $time
+# Required-Stop: $local_fs $remote_fs $network $named $syslog $time
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Start/Stop Ranger Admin
+### END INIT INFO
LINUX_USER=ranger
BIN_PATH=/usr/bin
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/326b8a0b/unixauthservice/scripts/initd
----------------------------------------------------------------------
diff --git a/unixauthservice/scripts/initd b/unixauthservice/scripts/initd
index b50bdd6..e429cce 100644
--- a/unixauthservice/scripts/initd
+++ b/unixauthservice/scripts/initd
@@ -14,6 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+### BEGIN INIT INFO
+# Provides: ranger-usersync
+# Required-Start: $local_fs $remote_fs $network $named $syslog $time
+# Required-Stop: $local_fs $remote_fs $network $named $syslog $time
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Start/Stop Ranger Usersync
+### END INIT INFO
+
START_SCRIPT=/usr/bin/ranger-usersync-start
STOP_SCRIPT=/usr/bin/ranger-usersync-stop