Artix Linux Forum

Artix Linux => System => Topic started by: mrbrklyn on 10 March 2019, 20:45:57

Title: /usr/lib/tmpfiles.d/
Post by: mrbrklyn on 10 March 2019, 20:45:57
the files under this directory have a documented instructions?

/usr/lib/tmpfiles.d/
Title: Re: /usr/lib/tmpfiles.d/
Post by: Chris Cromer on 10 March 2019, 21:12:14
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
Title: Re: /usr/lib/tmpfiles.d/
Post by: mrbrklyn on 11 March 2019, 03:36:41
ah, more systemd cruft.  No wonder it is so difficult to figure out

Quote
System daemons frequently require private runtime directories below /run to store communication sockets and similar. For these, is is better to use RuntimeDirectory= in their unit files (see systemd.exec(5) for details), if the flexibility provided by tmpfiles.d is not required.

Does that imply that openrc has a similar mechism and global variable that one can define in the /etc/rc.d directory?
Title: Re: /usr/lib/tmpfiles.d/
Post by: Chris Cromer on 11 March 2019, 03:42:20
ah, more systemd cruft.  No wonder it is so difficult to figure out

Does that imply that openrc has a similar mechism and global variable that one can define in the /etc/rc.d directory?
No, OpenRC doesn't emulate systemd's functionality, nothing on that page applies to OpenRC.