]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/socket.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / core / socket.c
index 0686de1d1b892632471bd6f8d05afb3b01b5e7aa..6c0d799bd97d6cfe89395821a26dbdd3eba2cb56 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -1884,6 +1885,8 @@ static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) {
                 s->reset_accounting = false;
         }
 
+        unit_export_state_files(UNIT(s));
+
         r = unit_setup_exec_runtime(UNIT(s));
         if (r < 0)
                 return r;