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

Include docker.sh fails on Ubuntu #5

Open
ju5t opened this issue Dec 15, 2017 · 1 comment
Open

Include docker.sh fails on Ubuntu #5

ju5t opened this issue Dec 15, 2017 · 1 comment
Assignees
Labels

Comments

@ju5t
Copy link
Contributor

ju5t commented Dec 15, 2017

The following line returns an error content => '. /etc/csf/docker.sh'. A solution could be to use bash /etc/csf/docker.sh.

@ju5t ju5t self-assigned this Dec 15, 2017
@ju5t ju5t added the bug label Dec 15, 2017
@ju5t ju5t closed this as completed Dec 15, 2017
@ju5t ju5t reopened this Jan 26, 2018
@ju5t
Copy link
Contributor Author

ju5t commented Jan 26, 2018

This doesn't solve the issue. Apparently CSF on Ubuntu doesn't use the shebang that was specified.

ju5t added a commit that referenced this issue Jan 26, 2018
docker.sh not only contains specific rules to support Docker, it
also contains a function that is used to open ports for specific
containers. Running `bash docker.sh` breaks this functionality.

This doesn't solve the issue on Ubuntu. Apparently `csfpost.sh`
gets started with sh instead of bash, ignoring the shebang.
ju5t added a commit that referenced this issue Feb 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant