17 lines
680 B
Go
17 lines
680 B
Go
package paths
|
|||
|
|
|
||
|
|
// freebsdFlavor follows FreeBSD/ports conventions rather than blindly
|
||
|
|
// reusing Linux's FHS layout (spec section 33/56): system configuration
|
||
|
|
// and locally-installed data live under /usr/local, not /etc or
|
||
|
|
// /usr/share, and system-writable application data conventionally lives
|
||
|
|
// under /var/db rather than /var/lib.
|
||
|
|
var freebsdFlavor = unixFlavor{
|
||
|
|
systemConfigDirs: []string{"/usr/local/etc"},
|
||
|
|
systemDataDirs: []string{"/usr/local/share", "/usr/share"},
|
||
|
|
systemDataBase: "/var/db",
|
||
|
|
systemStateBase: "/var/db",
|
||
|
|
systemCacheBase: "/var/cache",
|
||
|
|
systemRuntimeBase: "/var/run",
|
||
|
|
systemLogBase: "/var/log",
|
||
|
|
systemBinDir: "/usr/local/bin",
|
||
|
|
}
|