summaryrefslogtreecommitdiffstats
path: root/systemd/udev-block-notify.service
blob: 28c6d59eeb025c59350dabd243fde18308d7a2ad (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# (C) 2011-2021 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

[Unit]
Description=Udev Block Notification
Requires=dbus.socket
PartOf=graphical-session.target
# Order after notification daemons to make sure it is stopped before.
After=dunst.service xfce4-notifyd.service
ConditionUser=!@system

[Service]
Type=notify
Restart=on-failure
ExecStart=/usr/bin/udev-block-notify

[Install]
WantedBy=default.target