a mid-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
748
stars
33
forks
source link
feature request: recognise systemd environment variable for systemd services #78
Open
symphorien opened 1 year ago
I would like to write an app which can be run both
CacheDirectory=<progname>
.In the second case, systemd sets the CACHE_DIRECTORY env var, and directories-rs could recognize that.
This also applies for other directories than cache: from man systemd.exec: