mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 21:47:40 +03:00
Change default libexecdir value
Most distros use /usr/lib/programname instead of /usr/libexec/programname.
This commit is contained in:
parent
17bfaf0388
commit
48d17cb1f2
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
var (
|
||||
defaultConfigDirectory = "/etc/maddy"
|
||||
defaultStateDirectory = "/var/lib/maddy"
|
||||
defaultLibexecDirectory = "/usr/libexec/maddy"
|
||||
defaultLibexecDirectory = "/usr/lib/maddy"
|
||||
)
|
||||
|
||||
func ConfigDirectory() string {
|
||||
|
|
|
@ -309,7 +309,7 @@ go build --ldflags '-X github.com/foxcpp/maddy.defaultStateDirectory=/opt/maddy/
|
|||
## libexecdir <directory>
|
||||
|
||||
Change the directory where all auxiliary binaries are stored.
|
||||
Default is $MADDYLIBEXEC environment variable or `/usr/libexec/maddy` if
|
||||
Default is $MADDYLIBEXEC environment variable or `/usr/lib/maddy` if
|
||||
$MADDYLIBEXEC is not set. The default value can be changed using -X linker
|
||||
flag during compilation:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue