Skip to content

Commit

Permalink
[INLONG-10645][Agent] Installer adds process protection
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwwhuang committed Jul 17, 2024
1 parent 142174a commit fce13fc
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion inlong-agent/agent-installer/bin/crontab.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#!/bin/sh
#!/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.
#

BASE_DIR=$(cd "$(dirname "$0")"/../;pwd)
cd $BASE_DIR
Expand Down

0 comments on commit fce13fc

Please sign in to comment.