-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
[💡 FEATURE REQUEST]: Make a universal configuration for running commands for all plugins #1584
Comments
Hey @Kaspiman 👋🏻 |
Hi! Maybe for now we should add user/group for on_init only? |
I don't think, that we need to add the |
Thanks @Kaspiman, I thought of this suggestion: command:
path: "bin/console schedule:run"
user: "www-data"
group: "www-data"
another_param: "another_value" Command nowaday is quite universal. I don't think that splitting command itself from it's args simplifies the use of the command. It'll also break all configs, plus it would be harder to just copy-paste the command into the RR command field. |
Plugin
Server
I have an idea!
Feature is a very similar to this #1570
on_init
contained in server section but doesn't inherit user/group parameters. I want to specify these parameters explicitly.In general, a more thorough improvement of the commands can be suggested. Now "command" is the simple path to the file, but it's worth turning this path into a more universal structure.
Like this:
Now it is clear that there can be commands in different plugins and it is worth making a general configuration method. Thanks to this, it is not necessary to add a user and group setting to each plugin.
The text was updated successfully, but these errors were encountered: