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

Update local_build.sh #84

Open
wants to merge 2 commits into
base: cake4
Choose a base branch
from
Open

Conversation

jpartain89
Copy link

Change the mkdir and chmod lines to include using the "${RADIUSDESK_VOLUME}" variable, since its used in the rest of the script, and because we're sourcing .env.

Also, there's beyond no need in having || exit 1 on every line that does something, especially if we have to run this more than once. Like, if we already have an nginx server running and port 80 is already in use.

Change the `mkdir` and `chmod` lines to include using the "${RADIUSDESK_VOLUME}" variable, since its used in the rest of the script, and because we're sourcing .env.

Also, there's beyond no need in having `|| exit 1` on every line that does something, especially if we have to run this more than once. Like, if we already have an nginx server running and port 80 is already in use.
Also changed the network name out for the sourced variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant