diff options
author | Mikko Ylinen <mikko.ylinen@intel.com> | 2013-06-28 13:22:08 +0300 |
---|---|---|
committer | Mikko Ylinen <mikko.ylinen@intel.com> | 2013-06-28 13:22:08 +0300 |
commit | 9f47f96704feb2bbb9e320d1f9e3a59f5915ddb8 (patch) | |
tree | e673ba6d26bbabb043de4a6f8bd458a166d71c68 | |
parent | ac20d1b0e2b26bd61223287cc6ad25dcf3d723a7 (diff) | |
download | aul-1-9f47f96704feb2bbb9e320d1f9e3a59f5915ddb8.tar.gz aul-1-9f47f96704feb2bbb9e320d1f9e3a59f5915ddb8.tar.bz2 aul-1-9f47f96704feb2bbb9e320d1f9e3a59f5915ddb8.zip |
Fix Access Control startup (ac.service)
ac.service waits for /tmp/.wm_ready flag which never shows up. Handle
dependencies using systemd Requires= mechanism.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
-rw-r--r-- | packaging/ac.service | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packaging/ac.service b/packaging/ac.service index 7b8f904b..4f6704de 100644 --- a/packaging/ac.service +++ b/packaging/ac.service @@ -6,10 +6,7 @@ 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' +ExecStart=/usr/bin/amd OOMScoreAdjust=-100 |