File: //lib/systemd/user/org.gnome.SettingsDaemon.PrintNotifications.service
[Unit]
Description=GNOME printer notifications service
CollectMode=inactive-or-failed
RefuseManualStart=true
RefuseManualStop=true
After=gnome-session-initialized.target
# Requisite/PartOf means the dependency is not loaded automatically.
# The ordering here also implies Before=gnome-session.target
Requisite=org.gnome.SettingsDaemon.PrintNotifications.target
PartOf=org.gnome.SettingsDaemon.PrintNotifications.target
Before=org.gnome.SettingsDaemon.PrintNotifications.target
[Service]
Slice=session.slice
Type=dbus
ExecStart=/usr/libexec/gsd-print-notifications
Restart=on-failure
BusName=org.gnome.SettingsDaemon.PrintNotifications
TimeoutStopSec=5
# We cannot use OnFailure as e.g. dependency failures are normal
# https://github.com/systemd/systemd/issues/12352
ExecStopPost=/usr/libexec/gnome-session-ctl --exec-stop-check