Originally created by @rsguru on GitHub (Nov 15, 2022).
Description:
I want to run the scripts under Postrun-hooks.d folder in order.
Example files to run in order:
1 - copyCertToSomeFolder.sh
2 - reloadApache.sh
3 - sendEmailSuccess.sh
However, I can't find a way to make it in order. Looks like every time that I make changes in one of these files, it will be the one to first run.
It needs some sort of order ( by name / number the files)
I could use the hook file to be able to do some of these tasks. However, all those tasks need root access and Dehydrated's hooks only run as user dehydrated.
Originally created by @rsguru on GitHub (Nov 15, 2022).
Description:
I want to run the scripts under Postrun-hooks.d folder in order.
Example files to run in order:
1 - copyCertToSomeFolder.sh
2 - reloadApache.sh
3 - sendEmailSuccess.sh
However, I can't find a way to make it in order. Looks like every time that I make changes in one of these files, it will be the one to first run.
It needs some sort of order ( by name / number the files)
I could use the hook file to be able to do some of these tasks. However, all those tasks need root access and Dehydrated's hooks only run as user dehydrated.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rsguru on GitHub (Nov 15, 2022).
Description:
I want to run the scripts under Postrun-hooks.d folder in order.
Example files to run in order:
1 - copyCertToSomeFolder.sh
2 - reloadApache.sh
3 - sendEmailSuccess.sh
However, I can't find a way to make it in order. Looks like every time that I make changes in one of these files, it will be the one to first run.
It needs some sort of order ( by name / number the files)
I could use the hook file to be able to do some of these tasks. However, all those tasks need root access and Dehydrated's hooks only run as user dehydrated.