dbus-broker/feature-suse-refuse-manual-start-stop.patch

27 lines
886 B
Diff
Raw Normal View History

Index: dbus-broker-33/src/units/system/dbus-broker.service.in
===================================================================
--- dbus-broker-33.orig/src/units/system/dbus-broker.service.in
+++ dbus-broker-33/src/units/system/dbus-broker.service.in
@@ -6,6 +6,8 @@ After=dbus.socket
Before=basic.target shutdown.target
Requires=dbus.socket
Conflicts=shutdown.target
+RefuseManualStart=true
+RefuseManualStop=true
[Service]
Type=notify
Index: dbus-broker-33/src/units/user/dbus-broker.service.in
===================================================================
--- dbus-broker-33.orig/src/units/user/dbus-broker.service.in
+++ dbus-broker-33/src/units/user/dbus-broker.service.in
@@ -6,6 +6,8 @@ After=dbus.socket
Before=basic.target shutdown.target
Requires=dbus.socket
Conflicts=shutdown.target
+RefuseManualStart=true
+RefuseManualStop=true
[Service]
Type=notify