Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Beginners • starting systemd service after GUI is up

$
0
0
I have a program I want to run under systemctl/systemd because I want it automatically restarted whenever it fails.

Google AI says to use
After=graphical-session.target

but it starts it before the desktop appears.

Alternatively, is there a good way to tell whether the desktop is running?

Statistics: Posted by jlearman — Fri Jan 16, 2026 2:07 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles