Revert^2 "Migrate Statsd to the apex"

2319d2139b216d452d00eb9c204003d9be646a25

Change-Id: I4bda9b6eb759c32b9167ad9d58bdd3d10ff29411
diff --git a/apex/statsd.rc b/apex/statsd.rc
new file mode 100644
index 0000000..605da2a
--- /dev/null
+++ b/apex/statsd.rc
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+service statsd /apex/com.android.os.statsd/bin/statsd
+    class main
+    socket statsdw dgram+passcred 0222 statsd statsd
+    user statsd
+    group statsd log
+    writepid /dev/cpuset/system-background/tasks