Skip to content

Commit aa56d5a

Browse files
committed
change default bootnode configuration directory
1 parent 5c88af1 commit aa56d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/tinc-boot/node/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const serviceFile = "/etc/systemd/system/tinc-boot"
2424

2525
type Cmd struct {
2626
Name string `long:"name" env:"NAME" description:"Self node name"`
27-
Dir string `long:"dir" env:"DIR" description:"Configuration directory (including net)" default:"."`
27+
Dir string `long:"dir" env:"DIR" description:"Configuration directory (including net)" default:"/etc/tinc/dnet"`
2828
Binding string `long:"binding" env:"BINDING" description:"Public binding address" default:":8655"`
2929
Token string `long:"token" env:"TOKEN" description:"Authorization token (used as a encryption key)"`
3030
Service bool `long:"service" env:"SERVICE" description:"Generate service file to /etc/systemd/system/tinc-boot-{net}.service"`

0 commit comments

Comments
 (0)