Script Delegate Reboot

We created a script delegate for IIS deployments in AWS. Anytime the instance is rebooted, we have to ssh in to restart the delegate. How can we automate this process?

Thanks.

Welcome to The Community, @Sergey_Barskiy!

Not sure what flavor of Linux you are using [e.g if on AWS, Amazon Linux?]. Food for thought, if just on startup, something in etc/init.d or equivalent?

Not sure how successful creating in systemctl entry would be also.

Asked this question internally also.

Cheers!

-Ravi

Thanks, Ravi. I was just following instruction on Harness: IIS (.NET) Quickstart - Harness.io Docs. The delegate is just Amazon Linux machine. Let me know what you guys think. I tried user data, but that does not seem to execute for me, so I thought I would ask hereā€¦