chiark / gitweb /
service: don't enter a second SIGTERM/SIGKILL cycle if no ExecStopPost= process is...
[elogind.git] / src / core / dbus-service.c
index c2e02209beb28cfa00e174dbfdeb30a9f1415510..8b157b5f3cfac7e6215f8e6cac6f3dd90010c290 100644 (file)
@@ -276,7 +276,7 @@ static int bus_service_set_transient_property(
                         }
 
                         fflush(f);
-                        unit_write_drop_in_private_section(UNIT(s), mode, "exec-start", buf);
+                        unit_write_drop_in_private(UNIT(s), mode, name, buf);
                 }
 
                 return 1;