mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-13 23:36:09 +03:00

This allows `systemctl` to send SIGUSR2 to Ghostty to trigger a reload, which is more convenient than scripting `ps` and `kill` to find the Ghostty main PID.
15 lines
252 B
SYSTEMD
15 lines
252 B
SYSTEMD
[Unit]
|
|
Description=@NAME@
|
|
After=graphical-session.target
|
|
After=dbus.socket
|
|
Requires=dbus.socket
|
|
|
|
[Service]
|
|
Type=notify-reload
|
|
ReloadSignal=SIGUSR2
|
|
BusName=@APPID@
|
|
ExecStart=@GHOSTTY@ --launched-from=systemd
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|