-
Notifications
You must be signed in to change notification settings - Fork 1
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
Directories #1
Directories #1
Conversation
@@ -520,6 +519,7 @@ def realize(self, *arg, **kw): | |||
self.serverurl = None | |||
|
|||
self.server_configs = sconfigs = section.server_configs | |||
self.directories = section.directories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so section would be configparser section which defaults to None if not present ?
% (self.name, self.path) | ||
) | ||
else: | ||
if self.create: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the syntax support chowning the directory? if the directory is supposed to be created in /tmp then it will suffice but otherwise it may result with a permission error. had this be created by root then the config could also have a syntax for chown'ing the created directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe is should. There was a comment at the end of Supervisor#120 that suggested it didn't need to change the ownership.
Adds [directory:x] sections. For context see my comment on Supervisor#120