mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +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
|
@ -25,6 +25,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||
- in case of vulnerabilities.
|
||||
-->
|
||||
|
||||
## [future]
|
||||
|
||||
### Changed
|
||||
- The `AdminListen` option and `yggdrasilctl` now default to `unix:///var/run/yggdrasil/yggdrasil.sock` on Linux
|
||||
|
||||
|
||||
## [0.4.2] - 2021-11-03
|
||||
### Fixed
|
||||
- Reverted a dependency update which resulted in problems building with Go 1.16 and running on Windows
|
||||
|
|
|
@ -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