The dbus user and group will be created by the dbus-common packge
which is a dependency of dbus-brocker. So no need for trying to doubble
create them.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
name = dbus-broker
version = 32
-release = 1
+release = 2
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Daemons
dbus-common
end
- prerequires += shadow-utils
-
- script prein
- getent group dbus >/dev/null || groupadd -r dbus
- getent passwd dbus >/dev/null || \
- useradd -r -g dbus -d / -s /sbin/nologin \
- -c "User for dbus service" dbus
- exit 0
- end
-
# Just search for new unit files that were just installed.
script postin
systemctl daemon-reload >/dev/null 2>&1 || :