Mike Salvatore
|
fc96e3aced
|
Build: Switch order of user_exists() and exit_if_user_doesnt_exist()
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
d5bb94f1a8
|
Build: Make error message formatting consistent
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
019bc56a73
|
Build: Handle empty usernames
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
0f133d0b35
|
Build: Improve echo in install-infection-monkey-service.sh
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
56bdbe5ac6
|
Build: Rename move_appimage() -> copy_appimage()
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
e1b053f000
|
Build: Move move_appimage() for improved readability
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
88eb9dbe81
|
Build: Extract function install_systemd_unit()
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
a81462e617
|
Build: Use writable location for temporary systemd unit file
As set, the $SCRIPT_DIR was read-only (since the AppImage's squashfs is
readonly). Use $PWD instead.
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
27ac518f2e
|
Build: Set umask before writing temporary systemd unit file
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
02ba8361a9
|
Build: Extract function exit_if_user_doesnt_exist()
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
2a18e3e1bf
|
Build: Remove unnecessary assert_parameter_supplied()
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
7e039f73ff
|
Build: Ensure either --install or --uninstall are specified
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
6d50814c19
|
Build: Make --install and --uninstall mutually exclusive
|
2022-05-05 11:03:48 -04:00 |
Mike Salvatore
|
ed58ca6950
|
Build: Rename $uname -> $username in AppImage installation script
"uname" could refer to the `uname` command (short for unix name).
"username" more clearly communicates the variable's purpose.
|
2022-05-05 11:03:48 -04:00 |
EliaOnceAgain
|
0287f58d8d
|
Build: Use $APPIMAGE instead of --path during service installation
|
2022-05-05 11:02:56 -04:00 |
EliaOnceAgain
|
6dfaf5ec74
|
Deploy: Move deployment_scripts/install-infection-monkey-service.sh to build_script/appimage/
|
2022-05-05 11:01:47 -04:00 |