Skip to content
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

Allow symlinked scripts in autostart #583

Closed
HansCz opened this issue May 18, 2019 · 3 comments · Fixed by #582
Closed

Allow symlinked scripts in autostart #583

HansCz opened this issue May 18, 2019 · 3 comments · Fixed by #582
Assignees
Labels

Comments

@HansCz
Copy link

HansCz commented May 18, 2019

ISSUE TYPE

  • Feature request

SUMMARY

Allow scripts in devilbox/autostart to be symlinks to scripts elsewhere

Goal

To be able to version control autostart scripts, it is necessary to put a symlink to the script in the autostart directory, instead of the file proper. The file proper can then exist elsewhere and be version controlled.

@HansCz HansCz added the feature label May 18, 2019
@HansCz
Copy link
Author

HansCz commented May 18, 2019

Note that the path the symlink points to is inside a mounted volume, so I assume the path is accessible at the time the autostart scripts run.

@cytopia
Copy link
Owner

cytopia commented May 19, 2019

@HansCz good catch, I wasn't even aware that this did not work. Fix is on the way: devilbox/docker-php-fpm#117

@HansCz
Copy link
Author

HansCz commented May 20, 2019

Excellent! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants