mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-04 05:08:39 +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]
|
[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
|
||||||
|
Reference in New Issue
Block a user