From: Dongkyun Son Date: Thu, 9 Nov 2023 02:01:11 +0000 (+0900) Subject: packaging: add exec.conf to profile_tv X-Git-Tag: accepted/tizen/unified/20231110.172143^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae4e7aa5b6f779e50b71debdcca7f08538f651c6;p=sdk%2Ftarget%2Fsdbd.git packaging: add exec.conf to profile_tv add sdbd boosting config to keep the log at boot time Change-Id: I9de5bf606ffc26e71d29505eded9b509b27c824e Signed-off-by: Dongkyun Son --- diff --git a/packaging/exec.conf b/packaging/exec.conf new file mode 100644 index 0000000..908e34a --- /dev/null +++ b/packaging/exec.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/usr/bin/boostShell -a -r 5 -t 5000 -p /usr/sbin/sdbd $SDBD_CMDLINE diff --git a/packaging/sdbd.spec b/packaging/sdbd.spec index 6b4d5c4..87ea2e5 100644 --- a/packaging/sdbd.spec +++ b/packaging/sdbd.spec @@ -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