util-lib: share plymouth client code
Let's add a new "plymouth-util.c" module with helpers for talking to plymouth. We so far had three places for this, let's unify the code doing this a bit.
This commit is contained in:
committed by
Luca Boccassi
parent
1a292659f2
commit
aa25e19b47
@@ -89,11 +89,6 @@
|
||||
* in containers so that our children inherit that. */
|
||||
#define DEFAULT_RLIMIT_MEMLOCK (1024ULL*1024ULL*8ULL)
|
||||
|
||||
#define PLYMOUTH_SOCKET { \
|
||||
.un.sun_family = AF_UNIX, \
|
||||
.un.sun_path = "\0/org/freedesktop/plymouthd", \
|
||||
}
|
||||
|
||||
/* Path where PID1 listens for varlink subscriptions from systemd-oomd to notify of changes in ManagedOOM settings. */
|
||||
#define VARLINK_ADDR_PATH_MANAGED_OOM_SYSTEM "/run/systemd/io.systemd.ManagedOOM"
|
||||
/* Path where systemd-oomd listens for varlink connections from user managers to report changes in ManagedOOM settings. */
|
||||
|
||||
Reference in New Issue
Block a user