runt1me/stormcloud

Develop a persistence strategy for clients

Closed this issue · 3 comments

Stormcloud core needs to restart itself successfully after a client device reboots. We need to explore the best way to make this happen, implement it, and test it.

  1. Windows - maybe the startup folder?
  2. Mac OS X - not sure
  3. Linux - a cron job that runs on reboot?

Estimated story points: 8

Recently implemented an approach for Windows which creates a shortcut file in the user's startup folder which points to the stormcloud client EXE. This appears to work based on initial testing.

If this approach doesn't work we will probably need to look at requiring the installer to run as administrator and look at things like the Windows registry run key or a different persistence mechanism.

Have yet to do research on persisting on OS X or Linux.

A little more research on OS X suggests that a simple cronjob might be a viable option.

Closing this issue and creating a separate issue for OS X.