You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remco doesn't seem to like my .env configuration files as the stagefilename is the dest prepended with a '.'
Workaround for now I found that works is to use
reload_cmd = "cp /var/www/env /var/www/.env
The text was updated successfully, but these errors were encountered:
The stageFileName is always ioutil.TempFile(filepath.Dir(s.Dst), "."+filepath.Base(s.Dst)) at the moment.
So if your destination file ist /var/www/env then your stageFile would be /var/www/.env.7643745 (something random).
You can then use this stageFile in your check_cmd like this: check_cmd(string, optional):
The command to check config. Use {{.src}} to reference the rendered source template.
{{.src}} is the stageFile.
You can't use it that way? Do you have an example where you need a different behavior?
remco doesn't seem to like my .env configuration files as the stagefilename is the dest prepended with a '.'
Workaround for now I found that works is to use
The text was updated successfully, but these errors were encountered: