Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question About Directive Scripts #8

Closed
P5vc opened this issue Jul 18, 2020 · 0 comments
Closed

Question About Directive Scripts #8

P5vc opened this issue Jul 18, 2020 · 0 comments

Comments

@P5vc
Copy link

P5vc commented Jul 18, 2020

The directives directory contains bash scripts to be executed once on each host, immediately when they are discovered. Only directive scripts with modification times within the most recent 24 hours will be considered for execution.

Does this mean that if I set up a new server, but I haven't updated the directive script within the past 24 hours, it won't run? For example, let's say that I want to fully wipe and set back up a server with the same hostname, etc. Would that server no longer run the old directive script? Or, is this trying to say that directive scripts won't be re-run (after always running the first time) unless a recent change is detected? Thanks.

Edit: Also, will directives run for all hosts, or is there a way to choose a specific host/specific hosts for them to run on?

@P5vc P5vc closed this as completed Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant