1service gsid /system/bin/gsid
2    interface aidl gsiservice
3    oneshot
4    disabled
5    user root
6    group root system media_rw
7
8on post-fs
9    mkdir /metadata/gsi 0771 root system
10    mkdir /metadata/gsi/dsu 0771 root system
11    mkdir /metadata/gsi/ota 0771 root system
12    mkdir /metadata/gsi/remount 0771 root system
13
14on post-fs-data
15    mkdir /data/gsi 0700 root root encryption=None
16    mkdir /data/gsi/dsu 0700 root root
17    mkdir /data/gsi/ota 0700 root root
18    mkdir /data/gsi/remount 0700 root root
19
20on boot
21    exec_background - root root -- /system/bin/gsid run-startup-tasks
22