Files
brianmcgee 41c82de3ce
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
feat: integrate with systemd configuration directory
2026-01-20 10:49:20 +00:00

13 lines
174 B
Go

package systemd
import "os"
func ConfigDirectory(fallback string) string {
dir := os.Getenv("CONFIGURATION_DIRECTORY")
if dir == "" {
return fallback
}
return dir
}