Fix systemd autostart to be more reliable
This commit is contained in:
parent
efa509ff4e
commit
9ec04aa547
|
@ -68,10 +68,10 @@ var polkitCmd = &cobra.Command{
|
||||||
|
|
||||||
const SYSTEMD_SERVICE = `[Unit]
|
const SYSTEMD_SERVICE = `[Unit]
|
||||||
Description="Goldwarden daemon"
|
Description="Goldwarden daemon"
|
||||||
|
After=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=BINARY_PATH daemonize
|
ExecStart=BINARY_PATH daemonize
|
||||||
Environment="DISPLAY=:0"
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target`
|
WantedBy=graphical-session.target`
|
||||||
|
|
Loading…
Reference in New Issue