systemd: can not set negative OOMScoreAdjust for user service 98/10098/1
authorChengwei Yang <chengwei.yang@intel.com>
Wed, 18 Sep 2013 02:29:56 +0000 (10:29 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Wed, 18 Sep 2013 02:30:39 +0000 (10:30 +0800)
systemd will put the service into failure state if set OOMScoreAdjust
failed. So do not set a negative OOMScoreAdjust for user service.

Bug: https://bugs.tizen.org/jira/browse/TDIST-274
Change-Id: I1ad00a33465f50a24fac5899f65872ffec7e0278
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
xorg.service.in

index 6cda38a..6fd6667 100644 (file)
@@ -18,7 +18,6 @@ Before=xorg.target
 [Service]
 EnvironmentFile=-/etc/sysconfig/xorg
 Type=forking
-OOMScoreAdjust=-1000
 ExecStart=@prefix@/bin/xorg-launch-helper $OPTIONS
 Restart=always
 RestartSec=10