Skip to content

Commit 5370597

Browse files
committed
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
1 parent 03fa4a6 commit 5370597

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525
- in case of vulnerabilities.
2626
-->
2727

28+
### Changed
29+
- The `AdminListen` option and `yggdrasilctl` now default to `unix:///var/run/yggdrasil/yggdrasil.sock` on Linux
30+
2831
## [0.4.0] - 2021-07-04
2932
### Added
3033
- New routing scheme, which is backwards incompatible with previous versions of Yggdrasil

src/defaults/defaults_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package defaults
77
func GetDefaults() platformDefaultParameters {
88
return platformDefaultParameters{
99
// Admin
10-
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
10+
DefaultAdminListen: "unix:///var/run/yggdrasil/yggdrasil.sock",
1111

1212
// Configuration (used for yggdrasilctl)
1313
DefaultConfigFile: "/etc/yggdrasil.conf",

0 commit comments

Comments
 (0)