diff options
| author | Jeffrey C. Ollie <jeff@ocjtech.us> | 2025-07-01 15:20:19 -0500 |
|---|---|---|
| committer | Jeffrey C. Ollie <jeff@ocjtech.us> | 2025-07-01 16:51:23 -0500 |
| commit | 190c744a6fb547f9ca3b0424f549b258ac0d2617 (patch) | |
| tree | 112de1c09f953de64440c4fe9d9451d4b692e5f7 /dist/linux | |
| parent | 5c4a30d85f86d68f50c17bf11fe723bc6933040e (diff) | |
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
```
Diffstat (limited to 'dist/linux')
| -rw-r--r-- | dist/linux/systemd.service.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/linux/systemd.service.in b/dist/linux/systemd.service.in index b0ef3d59a..3ff848ddd 100644 --- a/dist/linux/systemd.service.in +++ b/dist/linux/systemd.service.in @@ -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 |
