-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Blueprint should not assume certain things about the environment #29
Comments
In all honestly, I doubt people would run Pterodactyl on NixOS. |
I do -- but that's not the point. Point is, Blueprint shouldn't assume certain things about the environment. Another one is, Blueprint assumes that www-data is the owner of the panel directory. Doesn't break anything, but is annoying nonetheless. |
Works on my machine |
In all seriousness: @prplwtf we/you could just add a simple if-statement, or tell people that NixOS is unsupported? Also possible to make the directories a variable and define the variable using a interactive script? |
Non-standard directory support has been implemented since ages ago. Non-standard file ownership has been implemented recently, but is waiting for the next release. |
It's a bit wonky in my experience. When running with
Glad to hear that.
This isn't a NixOS-specific issue. If the user running Blueprint does not have write permissions to |
We could switch to a .env-like config file for Blueprint which would store settings like these in a readable manner: For the "blueprint" command issue, we could just add a statement to check from a list of directories, and if it exists, place it in there. |
|
@prplwtf couldnt this be solved by making a shell alias for blueprint on environments that dont have the directories? |
/usr/local
directory (such as NixOS), or even a/usr/bin
! (NixOS has it, but it only containsenv
) Because of this, theblueprint
alias does not get installed if/usr/local/bin
is not present or if it's not writable to by the current user.The installer falls apart anywhere outside ofchore: don't use/var/www/pterodactyl
. A safer assumption would be settingFOLDER="$(dirname $0)"
.::f
placeholders #40When setting up symlinks toUse relative symlinks instead of absolute ones/hardlinks #30.blueprint
, Blueprint will create absolute links. If the panel directory is renamed, Blueprint will partially break.The text was updated successfully, but these errors were encountered: