Fix systemd autostart

This commit is contained in:
Bernd Schoolmann 2023-09-12 00:24:47 +02:00
parent 72f671e364
commit 270ec38059
No known key found for this signature in database

View File

@ -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")