summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-04-11 08:22:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-11 08:22:38 +0000
commit822b1a024d058641be9aefa14da794f09755ce35 (patch)
tree223c640ce6bb427075a4a4ddae35cf0994327102 /rootdir
parent032f5f23005d8c5d4558618c5c46d3a92752b408 (diff)
parent468b37c106e3a0efa926de24c2690d6db2819bc0 (diff)
downloadsystem_core-822b1a024d058641be9aefa14da794f09755ce35.zip
system_core-822b1a024d058641be9aefa14da794f09755ce35.tar.gz
system_core-822b1a024d058641be9aefa14da794f09755ce35.tar.bz2
Merge "Add a config for dual mode zygote."
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.zygote32_64.rc12
1 files changed, 12 insertions, 0 deletions
diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc
new file mode 100644
index 0000000..3d60a31
--- /dev/null
+++ b/rootdir/init.zygote32_64.rc
@@ -0,0 +1,12 @@
+service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
+ class main
+ socket zygote stream 660 root system
+ onrestart write /sys/android_power/request_state wake
+ onrestart write /sys/power/state on
+ onrestart restart media
+ onrestart restart netd
+
+service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
+ class main
+ socket zygote_secondary stream 660 root system
+ onrestart restart zygote