linux: add install target to systemd user service
This will allow users to enable Ghostty startup on login. Users will need to explicitly enable startup on login via this command: ```sh systemctl enable --user com.mitchellh.ghostty.service ```pull/7757/head
parent
5c4a30d85f
commit
190c744a6f
|
|
@ -1,7 +1,11 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=@NAME@
|
Description=@NAME@
|
||||||
|
After=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=@APPID@
|
BusName=@APPID@
|
||||||
ExecStart=@GHOSTTY@ --launched-from=systemd
|
ExecStart=@GHOSTTY@ --launched-from=systemd
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue