diff --git a/cmd/setup_linux.go b/cmd/setup_linux.go index 8d486e6..75bf767 100644 --- a/cmd/setup_linux.go +++ b/cmd/setup_linux.go @@ -68,10 +68,10 @@ var polkitCmd = &cobra.Command{ const SYSTEMD_SERVICE = `[Unit] Description="Goldwarden daemon" +After=graphical-session.target [Service] ExecStart=BINARY_PATH daemonize -Environment="DISPLAY=:0" [Install] WantedBy=graphical-session.target`