Deploy: Fix minor issues in Usage of install-infection-monkey-service.sh

This commit is contained in:
Mike Salvatore 2022-04-10 09:58:50 -04:00
parent 149103e9ba
commit f00ebef9f3
1 changed files with 4 additions and 5 deletions

View File

@ -9,17 +9,17 @@ MONKEY_BIN="/opt/infection-monkey/bin"
APPIMAGE_NAME="InfectionMonkey.appimage" APPIMAGE_NAME="InfectionMonkey.appimage"
echo_help() { echo_help() {
echo "Installs Infection Monkey service to run on boot" echo "Installs the Infection Monkey service to run on boot."
echo "" echo ""
echo "Usage:" echo "Usage:"
echo " install-infection-monkey-service.sh --user <NAME> --appimage <PATH>" echo " install-infection-monkey-service.sh --user <USERNAME> --appimage <PATH>"
echo " install-infection-monkey-service.sh --uninstall" echo " install-infection-monkey-service.sh --uninstall"
echo " install-infection-monkey-service.sh -h|--help" echo " install-infection-monkey-service.sh -h|--help"
echo "" echo ""
echo "Options:" echo "Options:"
echo " --user User to run the service as" echo " --user User to run the service as"
echo " --appimage Path to AppImage" echo " --appimage Path to AppImage"
echo " --uninstall Uninstall Infection Monkey service" echo " --uninstall Uninstall the Infection Monkey service"
} }
install_service() { install_service() {
@ -156,4 +156,3 @@ if [ ! -f "$appimage_path" ] ; then
fi fi
install_service "$uname" "$appimage_path" install_service "$uname" "$appimage_path"