mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-03 12:48:44 +03:00
linux: add install target to systemd user service (#7757)
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:
4
dist/linux/systemd.service.in
vendored
4
dist/linux/systemd.service.in
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user