From 73dcdc56b0384aa8e0e4471e40ecd83f203d8eb0 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Fri, 4 Jan 2013 09:57:52 +0900 Subject: Change the systemd init script Add SETUID for the executable image file. Update spec file for rpmlint Remove unnecessary environment variables Change-Id: If6f88d4aff672cf48c98642615d164116da33911 --- data/data-provider-master.service | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'data') diff --git a/data/data-provider-master.service b/data/data-provider-master.service index 0c154a6..c4859e6 100644 --- a/data/data-provider-master.service +++ b/data/data-provider-master.service @@ -14,34 +14,15 @@ # limitations under the License. # - -# Developer's NOTE: (Not related with the license) -# This description is not revised by the system team. -# So I cannot guarantees these are OK or not. - [Unit] Description=Data Provider daemon After=xorg.target -[Kill] -KillSignal=SIGTERM - -[Exec] +[Service] Environment=BUFMGR_LOCK_TYPE="once" Environment=BUFMGR_MAP_CACHE="true" -Environment=PROVIDER_DEBUG_PROVIDER="false" -Environment=PROVIDER_METHOD="pixmap" -Environment=PROVIDER_COM_CORE_THREAD="true" -StandardInput=/dev/null -StandardOutput=/dev/null -StandardError=/dev/null - -[Service] -Type=forking -ExecStartPre= +Type=simple ExecStart=/usr/bin/data-provider-master -ExecStop=kill -TERM `cat /tmp/.master.pid` -PIDFile=/tmp/.master.pid RestartSec=1 [Install] -- cgit v1.2.3