add smack rule
[framework/system/dlog.git] / packaging / tizen-debug-level.service
index ea9c420..66b32b1 100644 (file)
@@ -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=1 TIZEN_DLOG_LEVEL=$(cat /opt/etc/.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