system-server: Relocate service file under united-service directory 21/325421/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250612.143600 accepted/tizen/unified/x/20250612.222020
authorSangYoun Kwak <sy.kwak@samsung.com>
Tue, 10 Jun 2025 08:23:21 +0000 (17:23 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Tue, 10 Jun 2025 08:23:21 +0000 (17:23 +0900)
The config file of united-service, system-server-sensord.service was
located under packaging with systemd service file, sensord.service.
But sensord.service and system-server-sensord.service are different type
of service files, it is better to spearate them.
To make it clear that system-server-sensord.service is a config file of
united-service, it is relocated under the new directory united-service.

Change-Id: I4678103e7d012135baa892c92094616890a40656
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
CMakeLists.txt
packaging/system-server-sensord.service [deleted file]
united-service/system-server-sensord.service [new file with mode: 0644]

index 785232e85747bc0f43549669b4c1f77082f13c98..af22601d5796f8d5b2b1807d82e45a53f2ee1cab 100644 (file)
@@ -33,6 +33,6 @@ INSTALL(
 )
 
 IF(${ENABLE_SYSTEM_SERVER})
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/system-server-sensord.service
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/united-service/system-server-sensord.service
        DESTINATION ${SYSTEM_SERVER_DIR}/conf)
 ENDIF()
diff --git a/packaging/system-server-sensord.service b/packaging/system-server-sensord.service
deleted file mode 100644 (file)
index 85c598e..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-[United-Service]
-Description=sensord plugin for system-server
-Name=system-server-sensord
-Type=notify
-Mode=normal
-Path=/usr/share/united-service/system-server/mod/libsystem-server-sensord.so
-Priority=1
diff --git a/united-service/system-server-sensord.service b/united-service/system-server-sensord.service
new file mode 100644 (file)
index 0000000..85c598e
--- /dev/null
@@ -0,0 +1,7 @@
+[United-Service]
+Description=sensord plugin for system-server
+Name=system-server-sensord
+Type=notify
+Mode=normal
+Path=/usr/share/united-service/system-server/mod/libsystem-server-sensord.so
+Priority=1