1# Copyright (C) 2024 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15service mainline_aconfigd_bootstrap_init /apex/com.android.configinfrastructure/bin/aconfigd-mainline bootstrap-init
16    class core
17    user system
18    group system
19    oneshot
20    disabled # does not start with the core class
21    file /dev/kmsg w
22    #turn it on when b/312444587 completes
23    #reboot_on_failure reboot
24
25service mainline_aconfigd_init /apex/com.android.configinfrastructure/bin/aconfigd-mainline init
26    class core
27    user system
28    group system
29    oneshot
30    disabled # does not start with the core class
31    file /dev/kmsg w
32    #turn it on when b/312444587 completes
33    #reboot_on_failure reboot
34
35service mainline_aconfigd_socket_service /apex/com.android.configinfrastructure/bin/aconfigd-mainline start-socket
36    class core
37    user system
38    group system
39    oneshot
40    disabled # does not start with the core class
41    file /dev/kmsg w
42    socket aconfigd_mainline stream 666 system system
43