From: juho Date: Wed, 17 Apr 2013 08:38:56 +0000 (+0900) Subject: fix the service file for correct service condition option X-Git-Tag: 2.1b_release X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2F2.1b_release;p=framework%2Fsystem%2Fdlog.git fix the service file for correct service condition option Change-Id: I004f8cc646b27d3520edc0cd87f719e9291af5df --- diff --git a/packaging/tizen-debug-level.service b/packaging/tizen-debug-level.service index 9917ef5..66b32b1 100644 --- a/packaging/tizen-debug-level.service +++ b/packaging/tizen-debug-level.service @@ -3,11 +3,11 @@ Description=Set tizen debug level globally DefaultDependencies=no After=opt.mount Before=basic.target -ConditionFileExists=/opt/etc/dlog/.platformloggingmode +ConditionPathExists=/opt/etc/dlog/.platformloggingmode [Service] Type=oneshot -ExecStart=/bin/sh -c '/usr/bin/systemctl set-environment TIZEN_PLATFORMLOGGING_MODE=$(find /opt/etc/dlog/.platformloggingmode -type f 2>&1 | wc -l) TIZEN_DLOG_LEVEL=$(cat /opt/etc/dlog/.dloglevel)' +ExecStart=/bin/sh -c '/usr/bin/systemctl set-environment TIZEN_PLATFORMLOGGING_MODE=1 TIZEN_DLOG_LEVEL=$(cat /opt/etc/dlog/.dloglevel)' [Install] WantedBy=basic.target