Add service files into the repo

Upstream request is to have service files in repo now.

Change-Id: I0df43652acf0f98ad5e5d1548b64acddc38a89dd
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
diff --git a/power-control/CMakeLists.txt b/power-control/CMakeLists.txt
index 282620d..5b55db9 100644
--- a/power-control/CMakeLists.txt
+++ b/power-control/CMakeLists.txt
@@ -21,6 +21,32 @@
     src/main.cpp
 )
 
+set (
+    SERVICE_FILES
+    service-files/intel-power-start@.service
+    service-files/intel-power-stop@.service
+    service-files/intel-power-warm-reset@.service
+    service-files/obmc-chassis-hard-poweroff@.target
+    service-files/obmc-chassis-poweroff@.target
+    service-files/obmc-chassis-poweron@.target
+    service-files/obmc-chassis-powerreset@.target
+    service-files/obmc-host-reboot@.target
+    service-files/obmc-host-soft-reboot@.target
+    service-files/obmc-host-start@.target
+    service-files/obmc-host-startmin@.target
+    service-files/obmc-host-stop@.target
+    service-files/obmc-host-warm-reset@.target
+    service-files/obmc-send-signal-host-starting@.service
+    service-files/obmc-send-signal-host-stopping@.service
+    service-files/obmc-send-signal-post-host-start@.service
+    service-files/obmc-send-signal-post-host-stop@.service
+    service-files/obmc-send-signal-pre-host-start@.service
+    service-files/obmc-send-signal-pre-host-stop@.service
+    service-files/op-reset-chassis-on@.service
+    service-files/op-reset-chassis-running@.service
+    service-files/xyz.openbmc_project.Chassis.Control.Power@.service
+)
+
 # import sdbusplus
 find_package(PkgConfig REQUIRED)
 pkg_check_modules(SDBUSPLUSPLUS sdbusplus REQUIRED)
@@ -46,3 +72,5 @@
 target_link_libraries(${PROJECT_NAME} "${SDBUSPLUSPLUS_LIBRARIES} -lstdc++fs -lphosphor_dbus")
 
 install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+install (FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/)
+