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
```
This commit is contained in:
Jeffrey C. Ollie
2025-07-01 15:20:19 -05:00
parent 5c4a30d85f
commit 190c744a6f

View File

@@ -1,7 +1,11 @@
[Unit]
Description=@NAME@
After=graphical-session.target
[Service]
Type=dbus
BusName=@APPID@
ExecStart=@GHOSTTY@ --launched-from=systemd
[Install]
WantedBy=graphical-session.target