Jan Engelhardt
6ceaa41c95
- Update feature-suse-refuse-manual-start-stop.patch: prevent killing user service aswell OBS-URL: https://build.opensuse.org/request/show/1132714 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-broker?expand=0&rev=41
27 lines
886 B
Diff
27 lines
886 B
Diff
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
|