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