Forum Discussion
Nikoolayy1
MVP
Jan 17, 2023iCall script triggers error need ${HOME} to run
I have checked article https://community.f5.com/t5/technical-articles/what-is-icall/ta-p/288206 and https://support.f5.com/csp/article/K14397 for iCall scripts.
I am trying to execute a linux c...
G-Rob
Employee
Jan 19, 2023I don't think "exec" necessarily changes the shell, but "exec bash script.sh" vs "exec script.sh" would launch a child BASH process, most likely without the environmental variables you need. Can you try without specifying bash and let me know how it goes?
Nikoolayy1
MVP
Jan 19, 2023Added "HOME=/root <linux bash command>" in the script.sh file and it now works.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects