startup_init/services/etc/ueventd.cfg
xu_yuntong e212b81758 ondemand
Signed-off-by: xu_yuntong <xu_yuntong@hoperun.com>
2023-01-13 12:01:28 +08:00

30 lines
921 B
INI

{
"services" : [{
"name" : "ueventd",
"path" : ["/system/bin/ueventd"],
"uid" : "ueventd",
"gid" : ["ueventd"],
"socket" : [{
"name" : "ueventd",
"family" : "AF_NETLINK",
"type" : "SOCK_DGRAM",
"protocol" : "NETLINK_KOBJECT_UEVENT",
"permissions" : "0660",
"uid" : "system",
"gid" : "system",
"option" : [
"SOCKET_OPTION_PASSCRED",
"SOCKET_OPTION_RCVBUFFORCE",
"SOCK_CLOEXEC",
"SOCK_NONBLOCK"
]
}],
"caps" : ["DAC_OVERRIDE", "MKNOD", "CHOWN", "FOWNER"],
"ondemand" : true,
"sandbox" : 0,
"start-mode" : "condition",
"secon" : "u:r:ueventd:s0"
}
]
}