return 0;
if (streq(verb, "enable")) {
- if ( check_args_is_path(args+1) == 1 ) {
+ if ( check_args_is_path(argv+1) == 1 ) {
return 0;
}
}
return -EINVAL;
}
- /* FIXME from systemd-216 of tizen-2.4 */
- /* Now, in Tizen, some of services are hardly not
- * terminated. At last, time-out occurred. It can make serious
- * problem in shutdown process. Until we solve this problem
- * reboot is performed forcedly. */
- if (arg_action == ACTION_REBOOT ||
- arg_action == ACTION_POWEROFF)
- arg_force = 2;
-
return 1;
}
return -EINVAL;
}
+ /* FIXME from systemd-216 of tizen-2.4 */
+ /* Now, in Tizen, some of services are hardly not
+ * terminated. At last, time-out occurred. It can make serious
+ * problem in shutdown process. Until we solve this problem
+ * reboot is performed forcedly. */
+ if (arg_action == ACTION_REBOOT ||
+ arg_action == ACTION_POWEROFF)
+ arg_force = 2;
+
return 1;
}
KillMode=mixed
Delegate=yes
TasksMax=infinity
-Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
-Environment=XDG_RUNTIME_DIR=/run/user/%U
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%i/dbus/user_bus_socket
+Environment=XDG_RUNTIME_DIR=/run/user/%i
Capabilities=cap_sys_admin,cap_mac_admin,cap_mac_override,cap_setgid,cap_dac_override=i
SupplementaryGroups=priv_mediastorage priv_externalstorage priv_message_read priv_mapservice priv_network_get priv_internet
SecureBits=keep-caps