Run after-reboot automatically during machine restart

(Demisew Abera) #1

Is there any commcare-cloud cmd to run after-reboot cmd during machine reboot?

0 Likes

(Simon Kelly) #2

Hi

There is an after-reboot command that will run a number of tasks including:

  • decrypt and mount encrypted drive
  • start relevant services

If you are asking if it’s possible to automatically run after-reboot during the normal boot process, the answer is no. The main reason for this is that decrypting the encrypted drive need the encryption key. Having the drive decrypt automatically would defeat the purpose of the encryption.

If you removed the ecryption there there would be little need for the after-reboot command and you could just have any services start when the machine boots.

0 Likes

(Demisew Abera) #3

Ok, thank you for clarification

0 Likes