blob: 69dbb1538d9e3e2e57602eb31a991ec8e772272a [file] [log] [blame]
Samuli Silvius3be94e42019-03-22 10:00:43 +02001[Unit]
2Description=D-Bus System Message Bus
3Requires=dbus.socket
4After=syslog.target
5
6[Service]
7PIDFile=/var/run/messagebus.pid
8ExecStartPre=/bin/mkdir -p /var/run/dbus
9ExecStartPre=/bin/chmod g+w /var/run/ /var/run/dbus/
10ExecStart=/bin/dbus-daemon --system --fork
11ExecReload=/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
12ExecStopPost=/bin/rm -f /var/run/messagebus.pid
13#OOMScoreAdjust=-900
14User=dbus
15Group=root
16PermissionsStartOnly=true