summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2025-07-01 15:20:19 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2025-07-01 16:51:23 -0500
commit190c744a6fb547f9ca3b0424f549b258ac0d2617 (patch)
tree112de1c09f953de64440c4fe9d9451d4b692e5f7 /dist
parent5c4a30d85f86d68f50c17bf11fe723bc6933040e (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')
-rw-r--r--dist/linux/systemd.service.in4
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