CLIP-HPC / goslmailer

GoSlurmMailer - drop in replacement for default slurm MailProg. Delivers slurm job messages to various destinations.
40 stars 6 forks source link

goslmailer: make config file path settable through environment variable #6

Closed pja237 closed 2 years ago

pja237 commented 2 years ago

Make the path string come either from env. var. e.g. GOSLMAILER_CONF or be this default if not set.

https://github.com/CLIP-HPC/goslmailer/blob/5189f278eae40b4a74117a0afe40ee20fb9520de/cmd/goslmailer/goslmailer.go#L28

Rationale: this is needed to ease the setup of e2e testing, not to mention the sanity of it.