packaging: add exec.conf to profile_tv 14/301114/1 accepted/tizen/unified/20231110.172143
authorDongkyun Son <dongkyun.s@samsung.com>
Thu, 9 Nov 2023 02:01:11 +0000 (11:01 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 9 Nov 2023 02:01:11 +0000 (11:01 +0900)
add sdbd boosting config to keep the log at boot time

Change-Id: I9de5bf606ffc26e71d29505eded9b509b27c824e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/exec.conf [new file with mode: 0644]
packaging/sdbd.spec

diff --git a/packaging/exec.conf b/packaging/exec.conf
new file mode 100644 (file)
index 0000000..908e34a
--- /dev/null
@@ -0,0 +1,3 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/boostShell -a -r 5 -t 5000 -p /usr/sbin/sdbd $SDBD_CMDLINE
index 6b4d5c4c89f76c2ae135984dfb3000bc4acf0d10..87ea2e5ae0ce698c5caadf546123138fc66f1893 100644 (file)
@@ -16,6 +16,7 @@ Source1010:    reset-privs.conf
 Source1011:    oom-adj-1000.conf
 Source1012:    emulator.conf
 Source1013:    restart-on-fail.conf
+Source1014:    exec.conf
 Source1020:    sdbd-env-generator
 
 BuildRequires: capi-system-info-devel >= 0.2.0
@@ -99,6 +100,7 @@ ln -s %{_unitdir}/sdbd.service %{buildroot}/%{_unitdir}/emulator_preinit.target.
 install -m 0644 %SOURCE1000 %{buildroot}%{_unitdir}/sdbd.service
 install -m 0644 %SOURCE1004 %{buildroot}%{_unitdir}/sdbd_tcp.socket
 install -m 0644 %SOURCE1013 %{buildroot}%{_unitdir}/sdbd.service.d/restart-on-fail.conf
+install -m 0644 %SOURCE1014 %{buildroot}%{_unitdir}/sdbd.service.d/exec.conf
 install -m 0755 -d %{buildroot}%{_unitdir}/sockets.target.wants/
 ln -s ../sdbd_tcp.socket %{buildroot}%{_unitdir}/sockets.target.wants/
 
@@ -165,6 +167,7 @@ chsmack -e "User::Shell" /sbin/sdbd-user
 
 %files profile_tv
 %{_unitdir}/sdbd.service.d/restart-on-fail.conf
+%{_unitdir}/sdbd.service.d/exec.conf
 
 %files -n sdbd-devel
 %{_includedir}/sdb/sdbd_plugin.h