Skip to content

Commit

Permalink
Merge pull request #49 from Veeresh-dot-Pattar/master
Browse files Browse the repository at this point in the history
Issue: Sfagent was not restarted automatically upon instance restart.
  • Loading branch information
deepamartin authored Dec 28, 2021
2 parents 330b56c + d885414 commit c35a061
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,15 @@ start)
printf "%s\n" "Fail. Check logs $LOG_PATH"
exit 1
fi
CMD1="update-rc.d sfagent defaults"
echo $CMD1
$CMD1 &
if [ $? -eq 0 ]; then
printf "\n" "symbolic link added for sfagent"
else
printf "%s\n" "Failed while adding symbolic link for sfagent. Check logs $LOG_PATH"
exit 1
fi
;;
status)
printf "%-50s" "Checking $NAME..."
Expand Down

0 comments on commit c35a061

Please sign in to comment.