On Mon, Mar 5, 2018 at 7:45 AM, Andreas 'ads' Scherbaum <[email protected]> wrote: > On Thu, Mar 1, 2018 at 7:40 PM, Curt Tilmes <[email protected]> wrote: >> On Thu, Mar 1, 2018 at 1:13 PM, Andres Freund <[email protected]> wrote: > Looked over this patch and found that you limit the directory entries to > files only. > Would it make sense to allow links as well? That would allow other > programs/distributions to place a link in the config directory and point to > a service file in their own directory.
I call stat(2), which from my understanding for a link will follow the link and return the information from the file linked to, not the link itself (which lstat(2) would do). I tried it out and it seems to work fine for links. Curt
