diff options
author | Patrick McCarty <patrick.mccarty@linux.intel.com> | 2013-10-21 15:02:50 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2013-10-21 15:02:50 -0700 |
commit | f992f69bc83e84078100a500d021f705834e38ff (patch) | |
tree | 27460efa61102296aa79a5ccfa6de790914b9442 | |
parent | 3ac18819391c242fe39fb1cddb9a4ad3c46e28c2 (diff) | |
parent | bde51a31670ed363dd94f2a6d34438c6515ada48 (diff) | |
download | aul-1-f992f69bc83e84078100a500d021f705834e38ff.tar.gz aul-1-f992f69bc83e84078100a500d021f705834e38ff.tar.bz2 aul-1-f992f69bc83e84078100a500d021f705834e38ff.zip |
Merge "Fix ac.service * Removed the mobile specific environment entries with a new EnvironmentFile entry added to allow profile specific entries * Removed the horrible wait hack from the exec line. This is not the way to handle dependencies * Removed the precondition hacks which are not needed" into tizen
-rw-r--r--[-rwxr-xr-x] | packaging/ac.service | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packaging/ac.service b/packaging/ac.service index c94fb732..2c393fcf 100755..100644 --- a/packaging/ac.service +++ b/packaging/ac.service @@ -1,15 +1,13 @@ # -# classical example of a socket activated service? +# Systemd script to Launch AMD # [Unit] Description=Start the Access Control server [Service] -Environment=DISPLAY=:0 -ExecStartPre=-/bin/mkdir -m 1777 /tmp/alaunch -ExecStartPre=/usr/bin/chsmack -a '*' /tmp/alaunch -ExecStart=/bin/sh -c 'while test ! -e /tmp/.wm_ready; do sleep 0.1; done; exec /usr/bin/amd' +EnvironmentFile=-/etc/sysconfig/prelaunch +ExecStart=/usr/bin/amd OOMScoreAdjust=-100 |