Skip to content

Commit

Permalink
Fix systemd autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Sep 11, 2023
1 parent 72f671e commit 270ec38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ Description="Goldwarden daemon"
[Service]
ExecStart=BINARY_PATH daemonize
Environment="DISPLAY=:0"
[Install]
WantedBy=default.target`
WantedBy=graphical-session.target`

func setupSystemd() {
file, err := os.Create("/tmp/goldwarden.service")
Expand Down

0 comments on commit 270ec38

Please sign in to comment.