You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integrate systemd unit installation script into AppImage package #1883
PR #1862 adds a deployment script that allows the AppImage package to be installed as a service and run on boot. This involves distributing both the AppImage and the installation script to the user. A better user experience would be if the AppImage package were self installing. Usage would look like:
$ ./InfectionMonkey-vX.Y.Z.AppImage service --install --user myuser
$ ./InfectionMonkey-vX.Y.Z.AppImage service --uninstall
Tasks
Move deployment_scripts/install-infection-monkey-service.sh to build_scripts/appimage/
Modify the AppImage build script to include install-infection-monkey-service.sh in the AppImage
Add installation instructions to docs/content/setup/linux.md. (0d) - @shreyamalviya
Update the documentation for creating Azure and AWS images. (0d) - @shreyamalviya
Modify AppRun to check for the service argument and invoke the install-infection-monkey-service.sh script, passing the remaining arguments. (0d) @mssalvatore
Modify install-infection-monkey-service.sh to use the $APPIMAGE environment variable rather than accepting a --path parameter.
In case the AppImage is called with service argument, is it expected to exit immediately after installing/uninstalling, or continue execution on installation?
Any preferred path inside the AppImage or just /squashfs-root/install-infection-monkey-service.sh as it isn't related to anything in /usr or /opt
Activity
GC-Elia commentedon Apr 20, 2022
Hey @mssalvatore , a couple questions
serviceargument, is it expected to exit immediately after installing/uninstalling, or continue execution on installation?/squashfs-root/install-infection-monkey-service.shas it isn't related to anything in/usror/optmssalvatore commentedon Apr 20, 2022
@GC-Elia Good questions!
/squashfs-root/install-infection-monkey-service.shshould be fine.