-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Make announceStopViaConsole configurable #13
Comments
Definitely like the idea - already thought of having the last 5 seconds countdown to shutdown, like I've seen on other servers. But: I would need guidance from @itzg on this one, as I've got no idea how to do something like run an arbitrary script given the current Go harness |
Yeah, was also thinking that idea/request would show up soon 😀 I don't have any particular guidance or hesitation with reading a script file, other than I think leveraging the builtin Go templating would be cool for populating variables as needed, such as time to shutdown. |
I'd probably do something as simple as running a shell script, a bunch of |
just as a minor addition (as it somehow relates to this feature request): |
Continuation of #10: the proposed enhancement here is to read a list of commands, perhaps from a file at the root of the server to execute a custom set of shutdown commands
The current implementation uses a single 'say' command, our use-case is a preference for 'title' commands at intervals before a shutdown.
c.c. @morrissimo
The text was updated successfully, but these errors were encountered: