aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hpkg/paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hpkg/paths.go')
-rw-r--r--cmd/hpkg/paths.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/hpkg/paths.go b/cmd/hpkg/paths.go
index 11715fb2..b7cc926a 100644
--- a/cmd/hpkg/paths.go
+++ b/cmd/hpkg/paths.go
@@ -8,6 +8,7 @@ import (
"strconv"
"sync/atomic"
+ "hakurei.app/container"
"hakurei.app/hst"
"hakurei.app/internal/hlog"
)
@@ -21,7 +22,7 @@ func init() {
if p, ok := os.LookupEnv("HAKUREI_DATA_HOME"); ok {
dataHome = p
} else {
- dataHome = "/var/lib/hakurei/" + strconv.Itoa(os.Getuid())
+ dataHome = container.FHSVarLib + "hakurei/" + strconv.Itoa(os.Getuid())
}
}