Change default libexecdir value

Most distros use /usr/lib/programname instead of
/usr/libexec/programname.
This commit is contained in:
fox.cpp 2019-09-06 21:34:51 +03:00
parent 17bfaf0388
commit 48d17cb1f2
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import (
var (
defaultConfigDirectory = "/etc/maddy"
defaultStateDirectory = "/var/lib/maddy"
defaultLibexecDirectory = "/usr/libexec/maddy"
defaultLibexecDirectory = "/usr/lib/maddy"
)
func ConfigDirectory() string {

View file

@ -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: