Updated Branches:
  refs/heads/master 123a16b74 -> 4789d81de

adding clean.sh extension to the cartridges


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/5e7ddcbe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/5e7ddcbe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/5e7ddcbe

Branch: refs/heads/master
Commit: 5e7ddcbeea0b61b0e765ae467a6427dbb899a585
Parents: 236a1b3
Author: rekathiru <[email protected]>
Authored: Fri Jan 10 16:33:13 2014 +0530
Committer: rekathiru <[email protected]>
Committed: Fri Jan 10 16:33:13 2014 +0530

----------------------------------------------------------------------
 .../distribution/src/main/extensions/clean.sh   | 27 ++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/5e7ddcbe/products/cartridge-agent/modules/distribution/src/main/extensions/clean.sh
----------------------------------------------------------------------
diff --git 
a/products/cartridge-agent/modules/distribution/src/main/extensions/clean.sh 
b/products/cartridge-agent/modules/distribution/src/main/extensions/clean.sh
new file mode 100644
index 0000000..b6eba04
--- /dev/null
+++ b/products/cartridge-agent/modules/distribution/src/main/extensions/clean.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+# This extension script will be executed to start the servers.
+# --------------------------------------------------------------
+#
+
+log=/var/log/apache-stratos/cartridge-agent-extensions.log
+echo "Cleaning the cartridge" | tee -a $log
\ No newline at end of file

Reply via email to