Relocate IPC socket file from /run/finit.sock -> /run/finit/socket

We have our own subdirectory alread in /run, for conditions, and the FHS
recommends services maintain their own subdirectory if they have >1 file
for runtime storage.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-02-09 22:07:03 +01:00
parent 36de18ec55
commit e147cf7a8c
+1 -1
View File
@@ -54,7 +54,7 @@
* support changing runlevel, reloading the configuration and setenv
* with the old-style /dev/initctl FIFO.
*/
#define INIT_SOCKET _PATH_VARRUN "finit.sock"
#define INIT_SOCKET _PATH_VARRUN "finit/socket"
#define INIT_MAGIC 0x03091969
#define INIT_CMD_START 0