-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
admin/run is a wrapper to run and log commands in production containers. It is currently used for cron jobs but can also be used to run one-off commands in the same containers (production-cron, json-dump, search-indexes-dump, sitemaps).
It doesn’t necessarily work outside of this environment because it makes a number of assumptions at first glance:
- User has to be "musicbrainz"
- Environment variable "PATH" is arbitrarily set
- Environment variable "PERL_CARTON_PATH" is arbitrarily set
- Logs are written under subdirectories of "~/log/"
- Those subdirectories have to be created beforehand
It should be more versatile so as to be easier to use in a development setup and for mirrors as well, from installation steps to maintenance routines.