diff --git a/cmd/systemd-vaultd-update-secrets/main.go b/cmd/systemd-vaultd-update-secrets/main.go index ef69fea..0cf3e0f 100644 --- a/cmd/systemd-vaultd-update-secrets/main.go +++ b/cmd/systemd-vaultd-update-secrets/main.go @@ -12,7 +12,7 @@ import ( ) const ( - systemdVaultdir = "/run/systemd-vaultd/secrets" + systemdVaultdir = "/run/systemd-openbaod/secrets" ) func updateSecrets(serviceName, target string) error { diff --git a/main.go b/main.go index 20b23fc..6d05bcc 100644 --- a/main.go +++ b/main.go @@ -190,13 +190,13 @@ var secretDir, socketDir string func init() { defaultDir := os.Getenv("SYSTEMD_VAULT_SECRETS") if defaultDir == "" { - defaultDir = "/run/systemd-vaultd/secrets" + defaultDir = "/run/systemd-openbaod/secrets" } flag.StringVar(&secretDir, "secrets", defaultDir, "directory where secrets are looked up") defaultSock := os.Getenv("SYSTEMD_VAULT_SOCK") if defaultSock == "" { - defaultSock = "/run/systemd-vaultd/sock" + defaultSock = "/run/systemd-openbaod/sock" } flag.StringVar(&socketDir, "sock", defaultSock, "unix socket to listen to for systemd requests") flag.Parse()