summaryrefslogtreecommitdiff
path: root/plugins/xsettings/gsd-xsettings.service.in
blob: b0f7a3475c9a008edb4bcaff6f0280072f41ad6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=GNOME XSettings
# Note that we do the shenanigans with having a target and a service solely
# so that OnFailure is not called in case of a dependency failure.
# See also https://github.com/systemd/systemd/issues/12352
OnFailure=gnome-session-failed.target
CollectMode=inactive-or-failed
RefuseManualStart=true
RefuseManualStop=true

PartOf=gsd-xsettings.target
After=gnome-session-initialized.target

[Service]
Type=dbus
ExecStart=@libexecdir@/gsd-xsettings
Restart=on-abnormal
BusName=@plugin_dbus_name@
TimeoutStopSec=5