mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Match sock file default to systemd setup.
The `AdminListen` option and `yggdrasilctl` now default to `unix:///var/run/yggdrasil/yggdrasil.sock` on Linux This allows yggdrasil to be run as its own user. Closes #802
This commit is contained in:
parent
aa46ee57bb
commit
0c7abaaffb
2 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,7 @@ package defaults
|
|||
func GetDefaults() platformDefaultParameters {
|
||||
return platformDefaultParameters{
|
||||
// Admin
|
||||
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
|
||||
DefaultAdminListen: "unix:///var/run/yggdrasil/yggdrasil.sock",
|
||||
|
||||
// Configuration (used for yggdrasilctl)
|
||||
DefaultConfigFile: "/etc/yggdrasil.conf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue