diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2013-01-04 09:57:52 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2013-01-04 10:50:28 +0900 |
commit | 73dcdc56b0384aa8e0e4471e40ecd83f203d8eb0 (patch) | |
tree | 2e5fd283b39e348e17a0da07a4d606389d785cd4 /data | |
parent | 082a10bc29b9df0d77a78df256f9cdef42f7bdf7 (diff) | |
download | data-provider-master-73dcdc56b0384aa8e0e4471e40ecd83f203d8eb0.tar.gz data-provider-master-73dcdc56b0384aa8e0e4471e40ecd83f203d8eb0.tar.bz2 data-provider-master-73dcdc56b0384aa8e0e4471e40ecd83f203d8eb0.zip |
Change the systemd init script
Add SETUID for the executable image file.
Update spec file for rpmlint
Remove unnecessary environment variables
Change-Id: If6f88d4aff672cf48c98642615d164116da33911
Diffstat (limited to 'data')
-rw-r--r-- | data/data-provider-master.service | 23 |
1 files changed, 2 insertions, 21 deletions
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] |