fix(daemon): require daemon in greeter, give daemon type dbus

This PR will fix race conditions in which the cosmic-greeter service starts before the cosmic-greeter-daemon can acquire a bus name. However, it should be noted that now that greeter requires the daemon, it won't start *unless* the daemon is able to start.
This commit is contained in:
Ryan Brue 2024-05-06 18:33:33 -05:00 • committed by Jeremy Soller
parent 9933926d44
commit aa18965a03
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
Description=COSMIC Greeter Daemon
[Service]
Type=dbus
BusName=com.system76.CosmicGreeter
ExecStart=/usr/bin/cosmic-greeter-daemon
Restart=on-failure