Bug #236
ini global section is not re-read at start, but are inherited from ndrxd
Status: | Closed | Start date: | 10/24/2017 | |
---|---|---|---|---|
Priority: | Normal (Code 4) | Due date: | ||
Assignee: | Oskars | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
Normally user would expect that [@global] section is re-read at any process restart.
Also needs to think about xadmin stop -c. Maybe by default we would expect that xadmin stop would shutdown the daemon too. And we would add -k param to keep ndrxd alive.
History
#1 Updated by Madars over 6 years ago
- Description updated (diff)
#2 Updated by Madars over 6 years ago
Also it should be nice that [@global] section could reference it's own previously set variables. We could have some CCONF flags to bet set to that ini handler could make some callbacks when loading data..
#3 Updated by Oskars over 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
This will be fixed in 5.2
#4 Updated by Oskars over 6 years ago
- Assignee set to Oskars
#5 Updated by Oskars over 6 years ago
Regarding to process ini re-read at the ndrxd child process, I did not found the problem. The init was re-read properly. Added test046 for this purpose. Implemented two pass config file global section reading. Now user may refere to previously defined globals, i.e.
[@global] VAR1=hello # this will result to "hello world" VAR2=${VAR1} world
#6 Updated by Oskars over 6 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
#7 Updated by Madars over 6 years ago
- Status changed from Resolved to Closed